Skip to content

Commit

Permalink
More gyrations trying to get SDL 1.2 to work correctly on all Mac OS …
Browse files Browse the repository at this point in the history
…X versions.

Lion gets mad if you try to set a fullscreen context linked with the new SDK and using these APIs.
We're going to try to do this smarter in 1.3, but let's just make it work.
  • Loading branch information
slouken committed Jan 19, 2012
1 parent a588b01 commit df9723e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/quartz/SDL_QuartzVideo.m
Expand Up @@ -840,7 +840,7 @@ other blitting while waiting on the VBL (and hence results in higher framerates)
if ( isLion ) {
[ qz_window setLevel:CGShieldingWindowLevel() ];
[ gl_context setView: window_view ];
[ gl_context setFullScreen ];
//[ gl_context setFullScreen ];
[ gl_context update ];
}

Expand Down Expand Up @@ -903,6 +903,7 @@ other blitting while waiting on the VBL (and hence results in higher framerates)
if (isLion) {
[ qz_window setHasShadow:NO];
[ qz_window setOpaque:YES];
[ qz_window makeKeyAndOrderFront:nil ];
}

/* !!! FIXME: keep an eye on this.
Expand Down

0 comments on commit df9723e

Please sign in to comment.