[Scummvm-cvs-logs] SF.net SVN: scummvm:[38377] scummvm/trunk/graphics/VectorRendererSpec.cpp

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Mon Feb 16 20:07:41 CET 2009


Revision: 38377
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38377&view=rev
Author:   anotherguest
Date:     2009-02-16 19:07:41 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
Fixed VectorRenderSpec for no fancy theme!

Modified Paths:
--------------
    scummvm/trunk/graphics/VectorRendererSpec.cpp

Modified: scummvm/trunk/graphics/VectorRendererSpec.cpp
===================================================================
--- scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-02-16 18:40:36 UTC (rev 38376)
+++ scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-02-16 19:07:41 UTC (rev 38377)
@@ -210,7 +210,8 @@
 VectorRenderer *createRenderer(int mode) {
 #ifdef DISABLE_FANCY_THEMES
 	assert(mode == GUI::ThemeEngine::kGfxStandard16bit);
-	return new VectorRendererSpec<uint16, ColorMasks<VECTOR_RENDERER_FORMAT> >;
+	Graphics::PixelFormat format = createPixelFormat<VECTOR_RENDERER_FORMAT>();
+	return new VectorRendererSpec<uint16>(format);
 #else
 	// FIXME/TODO: This looks like a real gross hack.
 	// It might be fine to assume that '1555' only happens for PSP


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list