From 48d21dc783413f613df9967269cdc2731089cfdf Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 2 Jan 2006 10:49:37 +0000 Subject: [PATCH] Quartz target: set x and y field of mode list to 0 in SDL_ListMode call. --- src/video/quartz/SDL_QuartzVideo.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index 74ede0e9a..6ff8f4c3f 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -300,6 +300,7 @@ static SDL_Rect** QZ_ListModes (_THIS, SDL_PixelFormat *format, Uint32 flags) { return NULL; } + rect->x = rect->y = 0; rect->w = width; rect->h = height;