21 #include "../../SDL_internal.h" 23 #ifndef SDL_emscriptenopengles_h_ 24 #define SDL_emscriptenopengles_h_ 26 #if SDL_VIDEO_DRIVER_EMSCRIPTEN && SDL_VIDEO_OPENGL_EGL 28 #include "../SDL_sysvideo.h" 29 #include "../SDL_egl_c.h" 32 #define Emscripten_GLES_GetAttribute SDL_EGL_GetAttribute 33 #define Emscripten_GLES_GetProcAddress SDL_EGL_GetProcAddress 34 #define Emscripten_GLES_UnloadLibrary SDL_EGL_UnloadLibrary 35 #define Emscripten_GLES_SetSwapInterval SDL_EGL_SetSwapInterval 36 #define Emscripten_GLES_GetSwapInterval SDL_EGL_GetSwapInterval 38 extern int Emscripten_GLES_LoadLibrary(
_THIS,
const char *
path);
GLfloat GLfloat GLfloat GLfloat h
static screen_context_t context
void * SDL_GLContext
An opaque handle to an OpenGL context.
GLubyte GLubyte GLubyte GLubyte w
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path