From 8ca0c65cbdd2cdd058e314ff1c8fcc01d48289d2 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 26 Mar 2008 20:49:45 +0000 Subject: Commented out two frees() in DestroyScalers(), introduced with commit #31244 and added a FIXME - these cause crashes with 640x480 games, when using an HQ2x scaler svn-id: r31247 --- graphics/scaler.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp index d80003761b..79381066ba 100644 --- a/graphics/scaler.cpp +++ b/graphics/scaler.cpp @@ -112,8 +112,10 @@ void InitScalers(uint32 BitFormat) { } void DestroyScalers(){ - free(RGBtoYUV); - free(LUT16to32); + // FIXME: these cause memory access violation problems in some + // 640x480 games, when using the HQ2x graphics scaler + //free(RGBtoYUV); + //free(LUT16to32); } -- cgit v1.2.3