diff src/video/quartz/SDL_QuartzVideo.m @ 1220:ca2f0da7b708

Quartz driver: Make sure we pass a pointer to the right type.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 02 Jan 2006 12:48:58 +0000
parents 9a7a016d5a71
children 092722dbc766
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 12:37:40 2006 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 12:48:58 2006 +0000
@@ -503,7 +503,7 @@
 
 static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int width,
                                            int height, int bpp, Uint32 flags) {
-    int exact_match;
+    boolean_t exact_match = 0;
     int gamma_error;
     SDL_QuartzGammaTable gamma_table;
     NSRect screen_rect;