src/video/windx5/SDL_dx5video.c
changeset 1545 8d9bb0cf2c2a
parent 1523 21b1fbb53f4a
child 1658 e49147870aac
child 1771 8d3ca155c396
     1.1 --- a/src/video/windx5/SDL_dx5video.c	Wed Mar 15 15:47:49 2006 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5video.c	Wed Mar 15 17:46:41 2006 +0000
     1.3 @@ -930,6 +930,8 @@
     1.4  #ifndef NO_CHANGEDISPLAYSETTINGS
     1.5  	/* Query for the desktop resolution */
     1.6  	EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &SDL_desktop_mode);
     1.7 +	this->info.current_w = SDL_desktop_mode.dmPelsWidth;
     1.8 +	this->info.current_h = SDL_desktop_mode.dmPelsHeight;
     1.9  #endif
    1.10  
    1.11  	/* Enumerate the available fullscreen modes */