diff options
author | Johannes Schickel | 2011-02-20 21:36:39 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-20 21:39:29 +0100 |
commit | 10c7c5327a24d9274c83d0b29a00cffbbced23fc (patch) | |
tree | 2a7582dd3a5739a57be9f6eb339951319dac224a /engines | |
parent | bb2daae936783e844dcc00a3b84e7f811e4f7264 (diff) | |
download | scummvm-rg350-10c7c5327a24d9274c83d0b29a00cffbbced23fc.tar.gz scummvm-rg350-10c7c5327a24d9274c83d0b29a00cffbbced23fc.tar.bz2 scummvm-rg350-10c7c5327a24d9274c83d0b29a00cffbbced23fc.zip |
CRUISE: Remove leftover RGBA reference.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/gfxModule.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cruise/gfxModule.cpp b/engines/cruise/gfxModule.cpp index 59561de8dc..f9ab193399 100644 --- a/engines/cruise/gfxModule.cpp +++ b/engines/cruise/gfxModule.cpp @@ -273,15 +273,15 @@ static void mergeClipRects() { } void gfxModuleData_updatePalette() { - byte paletteRGBA[256 * 3]; + byte paletteRGB[256 * 3]; if (palDirtyMax != -1) { for (int i = palDirtyMin; i <= palDirtyMax; i++) { - paletteRGBA[i * 3 + 0] = lpalette[i].R; - paletteRGBA[i * 3 + 1] = lpalette[i].G; - paletteRGBA[i * 3 + 2] = lpalette[i].B; + paletteRGB[i * 3 + 0] = lpalette[i].R; + paletteRGB[i * 3 + 1] = lpalette[i].G; + paletteRGB[i * 3 + 2] = lpalette[i].B; } - g_system->getPaletteManager()->setPalette(paletteRGBA + palDirtyMin*3, palDirtyMin, palDirtyMax - palDirtyMin + 1); + g_system->getPaletteManager()->setPalette(paletteRGB + palDirtyMin*3, palDirtyMin, palDirtyMax - palDirtyMin + 1); palDirtyMin = 256; palDirtyMax = -1; } |