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 à :
23
inc/gl_helpers.h
Fichier normal
23
inc/gl_helpers.h
Fichier normal
@@ -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*/
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur