Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 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 | 72c6c3e5bb85 |
children | 634d85aefc8c |
comparison
equal
deleted
inserted
replaced
1180:bdcb8bb4c831 | 1181:49d3efec6651 |
---|---|
1487 CGDisplayShowCursor (display_id); | 1487 CGDisplayShowCursor (display_id); |
1488 CGAssociateMouseAndMouseCursorPosition (1); | 1488 CGAssociateMouseAndMouseCursorPosition (1); |
1489 | 1489 |
1490 QZ_UnsetVideoMode (this); | 1490 QZ_UnsetVideoMode (this); |
1491 CGPaletteRelease (palette); | 1491 CGPaletteRelease (palette); |
1492 | |
1493 if (opengl_bundle) { | |
1494 CFRelease(opengl_bundle); | |
1495 opengl_bundle = NULL; | |
1496 } | |
1497 this->gl_config.driver_loaded = 0; | |
1492 } | 1498 } |
1493 | 1499 |
1494 #if 0 /* Not used (apparently, it's really slow) */ | 1500 #if 0 /* Not used (apparently, it's really slow) */ |
1495 static int QZ_FillHWRect (_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color) { | 1501 static int QZ_FillHWRect (_THIS, SDL_Surface *dst, SDL_Rect *rect, Uint32 color) { |
1496 | 1502 |