/* 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*/
