src/video/SDL_sysvideo.h
changeset 1936 83946ee0ff1f
parent 1931 103c6fec2a60
child 1941 bf09d535e014
equal deleted inserted replaced
1935:8a9b367a80f3 1936:83946ee0ff1f
   230     /* * * */
   230     /* * * */
   231     /* OpenGL support
   231     /* OpenGL support
   232      */
   232      */
   233     int (*GL_LoadLibrary) (_THIS, const char *path);
   233     int (*GL_LoadLibrary) (_THIS, const char *path);
   234     void *(*GL_GetProcAddress) (_THIS, const char *proc);
   234     void *(*GL_GetProcAddress) (_THIS, const char *proc);
   235     int (*GL_GetWindowAttribute) (_THIS, SDL_Window * window,
       
   236                                   SDL_GLattr attrib, int *value);
       
   237       SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window);
   235       SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window);
   238     int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context);
   236     int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context);
   239     int (*GL_SetSwapInterval) (_THIS, int interval);
   237     int (*GL_SetSwapInterval) (_THIS, int interval);
   240     int (*GL_GetSwapInterval) (_THIS);
   238     int (*GL_GetSwapInterval) (_THIS);
   241     void (*GL_SwapWindow) (_THIS, SDL_Window * window);
   239     void (*GL_SwapWindow) (_THIS, SDL_Window * window);