diff options
author | Max Horn | 2008-11-06 15:02:50 +0000 |
---|---|---|
committer | Max Horn | 2008-11-06 15:02:50 +0000 |
commit | edf9f249260b1fd4364f6727fa622991e81e8cf3 (patch) | |
tree | 2b034d5daf7b69212957d8d51ab839974f51f2c5 /backends/platform/wince | |
parent | f238a12b27ebfa9847814b9972fdb5789e484533 (diff) | |
download | scummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.tar.gz scummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.tar.bz2 scummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.zip |
Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
Diffstat (limited to 'backends/platform/wince')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index f09a483086..45935d1696 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1973,7 +1973,7 @@ void OSystem_WINCE3::internDrawMouse() { *bak++ = *(uint16 *)dst; color = *src++; if (color != 0xFF) // 0xFF = transparent, don't draw - *(uint16 *)dst = RGBToColor(_currentPalette[color].r, _currentPalette[color].g, _currentPalette[color].b); + *(uint16 *)dst = SDL_MapRGB(_overlayscreen->format, _currentPalette[color].r, _currentPalette[color].g, _currentPalette[color].b); dst += 2; width--; } |