diff src/video/SDL_sysvideo.h @ 3057:089a77aebb7d

Added test program for SDL_CreateWindowFrom() Make sure OpenGL library is loaded before working with OpenGL windows, even those created with SDL_CreateWindowFrom()
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Feb 2009 05:32:12 +0000
parents 54fac87e1f34
children 0bc41e0361d3
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sun Feb 08 15:35:06 2009 +0000
+++ b/src/video/SDL_sysvideo.h	Mon Feb 09 05:32:12 2009 +0000
@@ -260,6 +260,7 @@
      */
     int (*GL_LoadLibrary) (_THIS, const char *path);
     void *(*GL_GetProcAddress) (_THIS, const char *proc);
+    void (*GL_UnloadLibrary) (_THIS);
       SDL_GLContext(*GL_CreateContext) (_THIS, SDL_Window * window);
     int (*GL_MakeCurrent) (_THIS, SDL_Window * window, SDL_GLContext context);
     int (*GL_SetSwapInterval) (_THIS, int interval);