21 #include "../../SDL_internal.h"
23 #ifndef _SDL_vivanteopengles_h
24 #define _SDL_vivanteopengles_h
26 #if SDL_VIDEO_DRIVER_VIVANTE && SDL_VIDEO_OPENGL_EGL
28 #include "../SDL_sysvideo.h"
29 #include "../SDL_egl_c.h"
32 #define VIVANTE_GLES_GetAttribute SDL_EGL_GetAttribute
33 #define VIVANTE_GLES_GetProcAddress SDL_EGL_GetProcAddress
34 #define VIVANTE_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
35 #define VIVANTE_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
36 #define VIVANTE_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
37 #define VIVANTE_GLES_DeleteContext SDL_EGL_DeleteContext
39 extern int VIVANTE_GLES_LoadLibrary(
_THIS,
const char *
path);
void * SDL_GLContext
An opaque handle to an OpenGL context.
The type used to identify a window.
GLsizei const GLchar *const * path