[Scummvm-cvs-logs] SF.net SVN: scummvm: [30688] scummvm/trunk/engines/parallaction/graphics. cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Mon Jan 28 21:06:41 CET 2008
Revision: 30688
http://scummvm.svn.sourceforge.net/scummvm/?rev=30688&view=rev
Author: eriktorbjorn
Date: 2008-01-28 12:06:40 -0800 (Mon, 28 Jan 2008)
Log Message:
-----------
Fixed warning.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.cpp
Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp 2008-01-28 19:56:29 UTC (rev 30687)
+++ scummvm/trunk/engines/parallaction/graphics.cpp 2008-01-28 20:06:40 UTC (rev 30688)
@@ -355,7 +355,7 @@
if (_halfbrite) {
// FIXME: the implementation of halfbrite is now largely sub-optimal in that a full screen
// rewrite is needed to apply the effect.
- Graphics::Surface *surf = g_system->lockScreen();
+ surf = g_system->lockScreen();
byte *src = (byte*)_buffers[kBit2]->pixels;
byte *dst = (byte*)surf->pixels;
for (int i = 0; i < surf->w*surf->h; i++) {
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