From 185fb7a6cd2e66ee6b683a5ef9e1f3c997b8858b 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 int QZ_VideoInit (_THIS, SDL_PixelFormat *video_format) { return NULL; } + rect->x = rect->y = 0; rect->w = width; rect->h = height;