comparison src/SDL_compat.c @ 1735:8dd28c4ef746 SDL-1.3

SDL_Rect now uses int for position and size. Added a few more rectangle functions. Added a dirty rectangle list implementation.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 07:34:50 +0000
parents f7c667ded87d
children
comparison
equal deleted inserted replaced
1734:f7c667ded87d 1735:8dd28c4ef746
305 } 305 }
306 306
307 SDL_Surface * 307 SDL_Surface *
308 SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags) 308 SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
309 { 309 {
310 SDL_EventFilter filter;
311 void *filterparam;
312 const SDL_DisplayMode *desktop_mode; 310 const SDL_DisplayMode *desktop_mode;
313 SDL_DisplayMode mode; 311 SDL_DisplayMode mode;
314 int window_x = SDL_WINDOWPOS_UNDEFINED; 312 int window_x = SDL_WINDOWPOS_UNDEFINED;
315 int window_y = SDL_WINDOWPOS_UNDEFINED; 313 int window_y = SDL_WINDOWPOS_UNDEFINED;
316 Uint32 window_flags; 314 Uint32 window_flags;