diff src/video/quartz/SDL_QuartzVideo.h @ 1181:49d3efec6651

Quartz driver OpenGL updates: Driver can now open whatever library is specified in SDL_GL_LoadLibrary() call (previously, it ignored this parameter), and uses the default system library when NULL is specified. Also, library is loaded once in SDL_GL_LoadLibrary() and not every call to SDL_GL_GetProcAddress().
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 22 Nov 2005 08:21:39 +0000
parents 9e84d106ec19
children c96b326b90ba
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.h	Tue Nov 22 07:10:07 2005 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.h	Tue Nov 22 08:21:39 2005 +0000
@@ -117,6 +117,7 @@
     Sint16                  yuv_width, yuv_height;
     CGrafPtr                yuv_port;
 
+    CFBundleRef opengl_bundle;    /* dynamically loaded OpenGL library. */
 } SDL_PrivateVideoData;
 
 #define _THIS    SDL_VideoDevice *this
@@ -154,6 +155,7 @@
 #define current_buffer (this->hidden->current_buffer)
 #define quit_thread (this->hidden->quit_thread)
 #define system_version (this->hidden->system_version)
+#define opengl_bundle (this->hidden->opengl_bundle)
 
 /* grab states - the input is in one of these states */
 enum {