[Scummvm-cvs-logs] SF.net SVN: scummvm:[48196] scummvm/trunk/graphics/scaler

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Mar 8 20:07:33 CET 2010


Revision: 48196
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48196&view=rev
Author:   lordhoto
Date:     2010-03-08 19:07:31 +0000 (Mon, 08 Mar 2010)

Log Message:
-----------
Fix compilation.

Modified Paths:
--------------
    scummvm/trunk/graphics/scaler/hq2x.cpp
    scummvm/trunk/graphics/scaler/hq3x.cpp

Modified: scummvm/trunk/graphics/scaler/hq2x.cpp
===================================================================
--- scummvm/trunk/graphics/scaler/hq2x.cpp	2010-03-08 10:32:45 UTC (rev 48195)
+++ scummvm/trunk/graphics/scaler/hq2x.cpp	2010-03-08 19:07:31 UTC (rev 48196)
@@ -114,6 +114,7 @@
 
 
 void HQ2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+	extern int gBitFormat;
 	if (gBitFormat == 565)
 		HQ2x_565(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
 	else

Modified: scummvm/trunk/graphics/scaler/hq3x.cpp
===================================================================
--- scummvm/trunk/graphics/scaler/hq3x.cpp	2010-03-08 10:32:45 UTC (rev 48195)
+++ scummvm/trunk/graphics/scaler/hq3x.cpp	2010-03-08 19:07:31 UTC (rev 48196)
@@ -117,6 +117,7 @@
 
 
 void HQ3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+	extern int gBitFormat;
 	if (gBitFormat == 565)
 		HQ3x_565(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
 	else


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