Mercurial > sdl-ios-xcode
diff src/video/os2fslib/SDL_os2fslib.c @ 1549:066236f0cbf0
Implemented RISC OS and OS/2 desktop resolution code (thanks to Alan and Doodle)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Mar 2006 22:42:09 +0000 |
parents | 8d9bb0cf2c2a |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/video/os2fslib/SDL_os2fslib.c Sat Mar 18 18:41:59 2006 +0000 +++ b/src/video/os2fslib/SDL_os2fslib.c Sat Mar 18 22:42:09 2006 +0000 @@ -2725,8 +2725,8 @@ } /* Determine the current screen size */ - _this->info.current_w = 0; // FIXME! - _this->info.current_h = 0; // FIXME! + _this->info.current_w = pDesktopMode->uiXResolution; + _this->info.current_h = pDesktopMode->uiYResolution; /* Determine the screen depth */ vformat->BitsPerPixel = pDesktopMode->uiBPP;