comparison 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
comparison
equal deleted inserted replaced
1219:9a7a016d5a71 1220:ca2f0da7b708
501 video_set = SDL_FALSE; 501 video_set = SDL_FALSE;
502 } 502 }
503 503
504 static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int width, 504 static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int width,
505 int height, int bpp, Uint32 flags) { 505 int height, int bpp, Uint32 flags) {
506 int exact_match; 506 boolean_t exact_match = 0;
507 int gamma_error; 507 int gamma_error;
508 SDL_QuartzGammaTable gamma_table; 508 SDL_QuartzGammaTable gamma_table;
509 NSRect screen_rect; 509 NSRect screen_rect;
510 CGError error; 510 CGError error;
511 511