From 1dcbe7b83a927d539185c96dd59ca2b26aaf5152 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 20 Jun 2009 08:02:54 +0000 Subject: [PATCH] oops, left a hack uncommented --- desmume/src/rasterize.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/desmume/src/rasterize.cpp b/desmume/src/rasterize.cpp index 8e270beb4..bd2b10ff4 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -364,17 +364,17 @@ struct Shader dst.b = modulate_table[texColor.b][materialColor.b]; dst.a = modulate_table[texColor.a][materialColor.a]; //dst.color.components.a = 31; - #ifdef _MSC_VER - if(GetAsyncKeyState(VK_SHIFT)) { - //debugging tricks - dst = materialColor; - if(GetAsyncKeyState(VK_TAB)) { - u8 alpha = dst.a; - dst.color = polynum*8+8; - dst.a = alpha; - } - } - #endif + //#ifdef _MSC_VER + //if(GetAsyncKeyState(VK_SHIFT)) { + // //debugging tricks + // dst = materialColor; + // if(GetAsyncKeyState(VK_TAB)) { + // u8 alpha = dst.a; + // dst.color = polynum*8+8; + // dst.a = alpha; + // } + //} + //#endif break; case 1: //decal u = invu*w;