23 #ifndef SDL_winrtopengles_h_
24 #define SDL_winrtopengles_h_
26 #if SDL_VIDEO_DRIVER_WINRT && SDL_VIDEO_OPENGL_EGL
28 #include "../SDL_sysvideo.h"
29 #include "../SDL_egl_c.h"
32 #define WINRT_GLES_GetAttribute SDL_EGL_GetAttribute
33 #define WINRT_GLES_GetProcAddress SDL_EGL_GetProcAddress
34 #define WINRT_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
35 #define WINRT_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
36 #define WINRT_GLES_DeleteContext SDL_EGL_DeleteContext
38 extern int WINRT_GLES_LoadLibrary(
_THIS,
const char *
path);
39 extern void WINRT_GLES_UnloadLibrary(
_THIS);
50 typedef Microsoft::WRL::ComPtr<IUnknown> WINRT_EGLNativeWindowType_Old;
static screen_context_t context
void * SDL_GLContext
An opaque handle to an OpenGL context.
HRESULT(WINAPI *GetDpiForMonitor)(HMONITOR hmonitor
EGLSurface EGLNativeWindowType * window
The type used to identify a window.
GLsizei const GLchar *const * path