Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1548:a77c022733fe | 1549:066236f0cbf0 |
---|---|
2723 #endif | 2723 #endif |
2724 return -1; | 2724 return -1; |
2725 } | 2725 } |
2726 | 2726 |
2727 /* Determine the current screen size */ | 2727 /* Determine the current screen size */ |
2728 _this->info.current_w = 0; // FIXME! | 2728 _this->info.current_w = pDesktopMode->uiXResolution; |
2729 _this->info.current_h = 0; // FIXME! | 2729 _this->info.current_h = pDesktopMode->uiYResolution; |
2730 | 2730 |
2731 /* Determine the screen depth */ | 2731 /* Determine the screen depth */ |
2732 vformat->BitsPerPixel = pDesktopMode->uiBPP; | 2732 vformat->BitsPerPixel = pDesktopMode->uiBPP; |
2733 vformat->BytesPerPixel = (vformat->BitsPerPixel+7)/8; | 2733 vformat->BytesPerPixel = (vformat->BitsPerPixel+7)/8; |
2734 | 2734 |