[Scummvm-cvs-logs] SF.net SVN: scummvm: [32340] scummvm/branches/gsoc2008-gui/gui
Tanoku at users.sourceforge.net
Tanoku at users.sourceforge.net
Wed May 28 16:30:52 CEST 2008
Revision: 32340
http://scummvm.svn.sourceforge.net/scummvm/?rev=32340&view=rev
Author: Tanoku
Date: 2008-05-28 07:30:51 -0700 (Wed, 28 May 2008)
Log Message:
-----------
Bugfixes: Discarded function, switch fix.
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/gui/InterfaceManager.cpp
scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h
Modified: scummvm/branches/gsoc2008-gui/gui/InterfaceManager.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/InterfaceManager.cpp 2008-05-28 14:27:22 UTC (rev 32339)
+++ scummvm/branches/gsoc2008-gui/gui/InterfaceManager.cpp 2008-05-28 14:30:51 UTC (rev 32340)
@@ -59,6 +59,9 @@
_bytesPerPixel = sizeof(uint16);
screenInit<uint16>();
break;
+
+ default:
+ return;
}
_vectorRenderer = Graphics::createRenderer(mode);
Modified: scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h 2008-05-28 14:27:22 UTC (rev 32339)
+++ scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h 2008-05-28 14:30:51 UTC (rev 32340)
@@ -58,15 +58,8 @@
int runGUI();
protected:
- Graphics::VectorRenderer *createRenderer() {
- // TODO: Find out what pixel format we are using,
- // create the renderer accordingly
- return new Graphics::VectorRendererSpec<uint16, ColorMasks<565> >;
- }
+ template<typename PixelType> void screenInit();
- template<typename PixelType>
- void screenInit();
-
void freeRenderer() {
if (_vectorRenderer != NULL)
delete _vectorRenderer;
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