src/SDL_compat.c
changeset 3032 77c3e67f0740
parent 3028 1c4a059966bd
child 3034 0e821769fc51
equal deleted inserted replaced
3031:86918831452f 3032:77c3e67f0740
   476 SDL_Surface *
   476 SDL_Surface *
   477 SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
   477 SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
   478 {
   478 {
   479     SDL_DisplayMode desktop_mode;
   479     SDL_DisplayMode desktop_mode;
   480     SDL_DisplayMode mode;
   480     SDL_DisplayMode mode;
   481     const char *env;
       
   482     int window_x = SDL_WINDOWPOS_UNDEFINED;
   481     int window_x = SDL_WINDOWPOS_UNDEFINED;
   483     int window_y = SDL_WINDOWPOS_UNDEFINED;
   482     int window_y = SDL_WINDOWPOS_UNDEFINED;
   484     Uint32 window_flags;
   483     Uint32 window_flags;
   485     Uint32 desktop_format;
   484     Uint32 desktop_format;
   486     Uint32 desired_format;
   485     Uint32 desired_format;