From 9987bd13f83061bd1489ef3bea1843fbd5345855 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 25 Apr 2009 19:24:58 +0000 Subject: [PATCH] accidentally checked in a hack the other day --- 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 33831c804..1401e7ec8 100644 --- a/desmume/src/rasterize.cpp +++ b/desmume/src/rasterize.cpp @@ -348,17 +348,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;