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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Mar 26 23:47:58 CET 2008


Revision: 31257
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31257&view=rev
Author:   fingolfin
Date:     2008-03-26 15:47:57 -0700 (Wed, 26 Mar 2008)

Log Message:
-----------
Properly fix DestroyScalers

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

Modified: scummvm/trunk/graphics/scaler.cpp
===================================================================
--- scummvm/trunk/graphics/scaler.cpp	2008-03-26 22:26:59 UTC (rev 31256)
+++ scummvm/trunk/graphics/scaler.cpp	2008-03-26 22:47:57 UTC (rev 31257)
@@ -112,10 +112,10 @@
 }
 
 void DestroyScalers(){
-	// FIXME: these cause memory access violation problems in some
-	// 640x480 games, when using the HQ2x graphics scaler
-	//free(RGBtoYUV);
-	//free(LUT16to32);
+	free(RGBtoYUV);
+	free(LUT16to32);
+	RGBtoYUV = 0;
+	LUT16to32 = 0;
 }
 
 


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