From f56f09377039fa6f8f10a4f13c2208a6a5147fdc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 6 Sep 2010 21:04:12 +0000 Subject: CINE: Get rid of needless static variable. svn-id: r52608 --- engines/cine/pal.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/cine') 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 -- cgit v1.2.3