21 #include "../../SDL_internal.h" 23 #ifndef _SDL_waylandopengles_h 24 #define _SDL_waylandopengles_h 26 #include "../SDL_sysvideo.h" 27 #include "../SDL_egl_c.h" 34 #define Wayland_GLES_GetAttribute SDL_EGL_GetAttribute 35 #define Wayland_GLES_GetProcAddress SDL_EGL_GetProcAddress 36 #define Wayland_GLES_UnloadLibrary SDL_EGL_UnloadLibrary 37 #define Wayland_GLES_SetSwapInterval SDL_EGL_SetSwapInterval 38 #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval static SDL_Window * window
void Wayland_GLES_DeleteContext(_THIS, SDL_GLContext context)
SDL_GLContext Wayland_GLES_CreateContext(_THIS, SDL_Window *window)
void * SDL_GLContext
An opaque handle to an OpenGL context.
int Wayland_GLES_MakeCurrent(_THIS, SDL_Window *window, SDL_GLContext context)
The type used to identify a window.
GLsizei const GLchar *const * path
int Wayland_GLES_LoadLibrary(_THIS, const char *path)
void Wayland_GLES_SwapWindow(_THIS, SDL_Window *window)