diff src/video/x11/SDL_x11video.c @ 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 81773a1eac83
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c	Sun Feb 08 15:35:06 2009 +0000
+++ b/src/video/x11/SDL_x11video.c	Mon Feb 09 05:32:12 2009 +0000
@@ -190,6 +190,7 @@
 #ifdef SDL_VIDEO_OPENGL_GLX
     device->GL_LoadLibrary = X11_GL_LoadLibrary;
     device->GL_GetProcAddress = X11_GL_GetProcAddress;
+    device->GL_UnloadLibrary = X11_GL_UnloadLibrary;
     device->GL_CreateContext = X11_GL_CreateContext;
     device->GL_MakeCurrent = X11_GL_MakeCurrent;
     device->GL_SetSwapInterval = X11_GL_SetSwapInterval;