src/video/x11/SDL_x11opengles.h
changeset 7986 ffb7bf531644
parent 7659 ac4ce59c40e7
child 8018 cff03048babd
equal deleted inserted replaced
7985:1e2d63f57e04 7986:ffb7bf531644
    36 #define X11_GLES_GetAttribute SDL_EGL_GetAttribute
    36 #define X11_GLES_GetAttribute SDL_EGL_GetAttribute
    37 #define X11_GLES_GetProcAddress SDL_EGL_GetProcAddress
    37 #define X11_GLES_GetProcAddress SDL_EGL_GetProcAddress
    38 #define X11_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
    38 #define X11_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
    39 #define X11_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
    39 #define X11_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
    40 #define X11_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
    40 #define X11_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
    41 #define X11_GLES_DeleteContext SDL_EGL_DeleteContext
       
    42 
    41 
    43 extern int X11_GLES_LoadLibrary(_THIS, const char *path);
    42 extern int X11_GLES_LoadLibrary(_THIS, const char *path);
    44 extern XVisualInfo *X11_GLES_GetVisual(_THIS, Display * display, int screen);
    43 extern XVisualInfo *X11_GLES_GetVisual(_THIS, Display * display, int screen);
    45 extern SDL_GLContext X11_GLES_CreateContext(_THIS, SDL_Window * window);
    44 extern SDL_GLContext X11_GLES_CreateContext(_THIS, SDL_Window * window);
    46 extern void X11_GLES_SwapWindow(_THIS, SDL_Window * window);
    45 extern void X11_GLES_SwapWindow(_THIS, SDL_Window * window);
    47 extern int X11_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
    46 extern int X11_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
       
    47 extern void X11_GLES_DeleteContext(_THIS, SDL_GLContext context);
    48 
    48 
    49 #endif /* SDL_VIDEO_OPENGL_EGL */
    49 #endif /* SDL_VIDEO_OPENGL_EGL */
    50 
    50 
    51 #endif /* _SDL_x11opengles_h */
    51 #endif /* _SDL_x11opengles_h */
    52 
    52