Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 1218:057d313e36a2
Quartz target: set x and y field of mode list to 0 in SDL_ListMode call.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 02 Jan 2006 10:49:37 +0000 |
parents | 7663bb0f52c7 |
children | 9a7a016d5a71 |
comparison
equal
deleted
inserted
replaced
1217:ae9981987c2f | 1218:057d313e36a2 |
---|---|
298 if (client_mode_list == NULL || rect == NULL) { | 298 if (client_mode_list == NULL || rect == NULL) { |
299 SDL_OutOfMemory (); | 299 SDL_OutOfMemory (); |
300 return NULL; | 300 return NULL; |
301 } | 301 } |
302 | 302 |
303 rect->x = rect->y = 0; | |
303 rect->w = width; | 304 rect->w = width; |
304 rect->h = height; | 305 rect->h = height; |
305 | 306 |
306 client_mode_list[list_size-1] = rect; | 307 client_mode_list[list_size-1] = rect; |
307 client_mode_list[list_size] = NULL; | 308 client_mode_list[list_size] = NULL; |