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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Feb 13 20:00:46 CET 2009


Revision: 36309
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36309&view=rev
Author:   fingolfin
Date:     2009-02-13 19:00:46 +0000 (Fri, 13 Feb 2009)

Log Message:
-----------
cleanup

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

Modified: scummvm/trunk/graphics/VectorRendererSpec.cpp
===================================================================
--- scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-02-13 18:02:48 UTC (rev 36308)
+++ scummvm/trunk/graphics/VectorRendererSpec.cpp	2009-02-13 19:00:46 UTC (rev 36309)
@@ -212,19 +212,6 @@
 	assert(mode == GUI::ThemeEngine::kGfxStandard16bit);
 	return new VectorRendererSpec<uint16, ColorMasks<VECTOR_RENDERER_FORMAT> >;
 #else
-#define CREATE_RENDERER_16(bitFormat) \
-	switch (mode) { \
-	case GUI::ThemeEngine::kGfxStandard16bit: \
-		return new VectorRendererSpec<uint16, ColorMasks<bitFormat> >; \
-	\
-	case GUI::ThemeEngine::kGfxAntialias16bit: \
-		return new VectorRendererAA<uint16, ColorMasks<bitFormat> >; \
-	\
-	default: \
-		return 0; \
-	}
-
-
 	// FIXME/TODO: This looks like a real gross hack.
 	// It might be fine to assume that '1555' only happens for PSP
 	// so it could maybe be handled via DISABLE_FANCY_THEMES,
@@ -239,7 +226,6 @@
 
 	return 0;
 
-#undef CREATE_RENDERER_16
 #endif
 }
 


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