Created
November 3, 2013 14:05
-
-
Save tru/7290571 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- src/video/quartz/SDL_QuartzWindow.m.orig 2013-10-31 04:29:45.000000000 -0700 | |
| +++ src/video/quartz/SDL_QuartzWindow.m 2013-10-31 04:30:05.000000000 -0700 | |
| @@ -87,7 +87,7 @@ | |
| SDL_VideoDevice *this = (SDL_VideoDevice*)current_video; | |
| /* make sure pixels are fully opaque */ | |
| - if (! ( SDL_VideoSurface->flags & SDL_OPENGL ) ) | |
| + if ( SDL_VideoSurface && ! ( SDL_VideoSurface->flags & SDL_OPENGL ) ) | |
| QZ_SetPortAlphaOpaque (); | |
| /* save current visible SDL surface */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment