From 22cfa5480bc90ac4233243db9c0ff4b8cca7f496 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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401221 --- 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;