Quartz target: set x and y field of mode list to 0 in SDL_ListMode call.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 02 Jan 2006 10:49:37 +0000
changeset 1218 057d313e36a2
parent 1217 ae9981987c2f
child 1219 9a7a016d5a71
Quartz target: set x and y field of mode list to 0 in SDL_ListMode call.
src/video/quartz/SDL_QuartzVideo.m
--- a/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 09:32:54 2006 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Mon Jan 02 10:49:37 2006 +0000
@@ -300,6 +300,7 @@
                     return NULL;
                 }
 
+                rect->x = rect->y = 0;
                 rect->w = width;
                 rect->h = height;