diff options
author | Johannes Schickel | 2010-09-06 21:04:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-09-06 21:04:12 +0000 |
commit | f56f09377039fa6f8f10a4f13c2208a6a5147fdc (patch) | |
tree | 8bc30bff506dbe9dac66d99960ca95fec69f45e4 | |
parent | 624d06b6848541c60ff0787cd9e3b9cc604a5576 (diff) | |
download | scummvm-rg350-f56f09377039fa6f8f10a4f13c2208a6a5147fdc.tar.gz scummvm-rg350-f56f09377039fa6f8f10a4f13c2208a6a5147fdc.tar.bz2 scummvm-rg350-f56f09377039fa6f8f10a4f13c2208a6a5147fdc.zip |
CINE: Get rid of needless static variable.
svn-id: r52608
-rw-r--r-- | engines/cine/pal.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cine/pal.cpp b/engines/cine/pal.cpp index 27d0e593da..34b196d5c7 100644 --- a/engines/cine/pal.cpp +++ b/engines/cine/pal.cpp @@ -186,8 +186,7 @@ const Graphics::PixelFormat &Palette::colorFormat() const { void Palette::setGlobalOSystemPalette() const { byte buf[256 * 4]; // Allocate space for the largest possible palette // The color format used by OSystem's setPalette-function: - static const Graphics::PixelFormat kSystemPalFormat(4, 8, 8, 8, 0, 0, 8, 16, 0); - save(buf, sizeof(buf), kSystemPalFormat, CINE_LITTLE_ENDIAN); + save(buf, sizeof(buf), Graphics::PixelFormat(4, 8, 8, 8, 0, 0, 8, 16, 0), CINE_LITTLE_ENDIAN); if (g_cine->getPlatform() == Common::kPlatformAmiga && colorCount() == 16) { // The Amiga version of Future Wars does use the upper 16 colors for a darkened |