1
0

Version initiale du logiciel. Développement commencé le 06/01/2026, en reprenant certaines parties/idées de miniDart, que j'ai écrit quelques années plus tôt

Cette révision appartient à :
erba
2026-01-26 14:16:39 +01:00
Parent 2f371d44da
révision 5189ea24c3
46 fichiers modifiés avec 97383 ajouts et 1 suppressions

23
inc/gl_helpers.h Fichier normal
Voir le fichier

@@ -0,0 +1,23 @@
/* gl_helpers.h header file of gl_helpers.cpp */
// Eric Bachard 2024/11/05 17h11
#ifndef _GL_HELPERS_H
#define _GL_HELPERS_H
#include "imgui.h"
#include "imgui_impl_sdl3.h"
#include "imgui_impl_opengl3.h"
#include <stdio.h>
#include <SDL3/SDL.h>
#if defined(IMGUI_IMPL_OPENGL_ES2)
#include <SDL_opengles2.h>
#else
#include <SDL3/SDL_opengl.h>
#endif
bool LoadTextureFromMemory(const void*, size_t, GLuint*, int*, int*);
bool LoadTextureFromFile(const char*, GLuint*, int*, int*);
#endif /* _GL_HELPERS_H*/