diff src/video/quartz/SDL_QuartzVideo.h @ 1189:c96b326b90ba

Moved Quartz SDL_GL_LoadLibrary() to SDL_loadso interface.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 23 Nov 2005 07:23:48 +0000
parents 49d3efec6651
children 7663bb0f52c7
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.h	Wed Nov 23 07:07:19 2005 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.h	Wed Nov 23 07:23:48 2005 +0000
@@ -64,6 +64,7 @@
 #include "SDL_sysvideo.h"
 #include "SDL_pixels_c.h"
 #include "SDL_events_c.h"
+#include "SDL_loadso.h"
 
 /* 
     This is a workaround to directly access NSOpenGLContext's CGL context
@@ -117,7 +118,7 @@
     Sint16                  yuv_width, yuv_height;
     CGrafPtr                yuv_port;
 
-    CFBundleRef opengl_bundle;    /* dynamically loaded OpenGL library. */
+    void *opengl_library;    /* dynamically loaded OpenGL library. */
 } SDL_PrivateVideoData;
 
 #define _THIS    SDL_VideoDevice *this
@@ -155,7 +156,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)
+#define opengl_library (this->hidden->opengl_library)
 
 /* grab states - the input is in one of these states */
 enum {