Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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 5b750fd48c7a2f0cb8c917fb78ccca584694c529
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoaopengl.m
@@ -223,7 +223,7 @@
[nscontext setFullScreen];
} else
#endif
{
if ([nscontext view] != [windowdata->nswindow contentView]) {
[nscontext setView:[windowdata->nswindow contentView]];
[nscontext update];
}

0 comments on commit 5b750fd

Please sign in to comment.