src/video/windows/SDL_windowsopengles.h
changeset 10800 f3439b0eb486
parent 10737 3406a0f8b041
child 11382 2c50e79b19e0
equal deleted inserted replaced
10799:234f71894a52 10800:f3439b0eb486
    31 /* OpenGLES functions */
    31 /* OpenGLES functions */
    32 #define WIN_GLES_GetAttribute SDL_EGL_GetAttribute
    32 #define WIN_GLES_GetAttribute SDL_EGL_GetAttribute
    33 #define WIN_GLES_GetProcAddress SDL_EGL_GetProcAddress
    33 #define WIN_GLES_GetProcAddress SDL_EGL_GetProcAddress
    34 #define WIN_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
    34 #define WIN_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
    35 #define WIN_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
    35 #define WIN_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
    36 /* See the WIN_GLES_GetSwapInterval implementation to see why this is commented out */
    36 #define WIN_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
    37 /*#define WIN_GLES_SetSwapInterval SDL_EGL_SetSwapInterval*/
       
    38 extern int WIN_GLES_SetSwapInterval(_THIS, int interval);
       
    39 
    37 
    40 extern int WIN_GLES_LoadLibrary(_THIS, const char *path);
    38 extern int WIN_GLES_LoadLibrary(_THIS, const char *path);
    41 extern SDL_GLContext WIN_GLES_CreateContext(_THIS, SDL_Window * window);
    39 extern SDL_GLContext WIN_GLES_CreateContext(_THIS, SDL_Window * window);
    42 extern int WIN_GLES_SwapWindow(_THIS, SDL_Window * window);
    40 extern int WIN_GLES_SwapWindow(_THIS, SDL_Window * window);
    43 extern int WIN_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
    41 extern int WIN_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);