Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't set the same GL context twice on Mac OS X (thanks, Alex!).
Fixes Bugzilla #1939.
  • Loading branch information
icculus committed Jul 5, 2013
1 parent 651d1e4 commit 5b750fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoaopengl.m
Expand Up @@ -223,7 +223,7 @@
[nscontext setFullScreen];
} else
#endif
{
if ([nscontext view] != [windowdata->nswindow contentView]) {
[nscontext setView:[windowdata->nswindow contentView]];
[nscontext update];
}
Expand Down

0 comments on commit 5b750fd

Please sign in to comment.