src/video/quartz/SDL_QuartzVideo.m
changeset 1181 49d3efec6651
parent 1160 72c6c3e5bb85
child 1183 634d85aefc8c
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