comparison src/video/cocoa/SDL_cocoaopengl.h @ 5254:7a963be087ef

Mostly fixed fullscreen mode on Mac OS X, and you can toggle it on and off. There are still some problems with the ConvertNSRect() calculations when switching video modes, which causes wierd window positioning issues, and the fullscreen window is still minimized on exit.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 00:25:44 -0800
parents f7b03b6838cb
children b530ef003506
comparison
equal deleted inserted replaced
5253:ff2564c24045 5254:7a963be087ef
24 #ifndef _SDL_cocoaopengl_h 24 #ifndef _SDL_cocoaopengl_h
25 #define _SDL_cocoaopengl_h 25 #define _SDL_cocoaopengl_h
26 26
27 #if SDL_VIDEO_OPENGL_CGL 27 #if SDL_VIDEO_OPENGL_CGL
28 28
29 /* Define this if you want to be able to toggle fullscreen mode seamlessly */
30 #define FULLSCREEN_TOGGLEABLE
31
29 struct SDL_GLDriverData 32 struct SDL_GLDriverData
30 { 33 {
31 int initialized; 34 int initialized;
32 }; 35 };
33 36