comparison src/video/quartz/SDL_QuartzVideo.m @ 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 634d85aefc8c
children 7663bb0f52c7
comparison
equal deleted inserted replaced
1188:f31856cf29ae 1189:c96b326b90ba
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 #include "SDL_QuartzVideo.h" 23 #include "SDL_QuartzVideo.h"
24 #include "SDL_QuartzWindow.h" 24 #include "SDL_QuartzWindow.h"
25
26 25
27 /* 26 /*
28 Add methods to get at private members of NSScreen. 27 Add methods to get at private members of NSScreen.
29 Since there is a bug in Apple's screen switching code 28 Since there is a bug in Apple's screen switching code
30 that does not update this variable when switching 29 that does not update this variable when switching
1493 CGAssociateMouseAndMouseCursorPosition (1); 1492 CGAssociateMouseAndMouseCursorPosition (1);
1494 1493
1495 QZ_UnsetVideoMode (this); 1494 QZ_UnsetVideoMode (this);
1496 CGPaletteRelease (palette); 1495 CGPaletteRelease (palette);
1497 1496
1498 if (opengl_bundle) { 1497 if (opengl_library) {
1499 CFRelease(opengl_bundle); 1498 SDL_UnloadObject(opengl_library);
1500 opengl_bundle = NULL; 1499 opengl_library = NULL;
1501 } 1500 }
1502 this->gl_config.driver_loaded = 0; 1501 this->gl_config.driver_loaded = 0;
1503 } 1502 }
1504 1503
1505 #if 0 /* Not used (apparently, it's really slow) */ 1504 #if 0 /* Not used (apparently, it's really slow) */