accidentally checked in a hack the other day

This commit is contained in:
zeromus 2009-04-25 19:24:58 +00:00
parent f464846c3c
commit 9987bd13f8
1 changed files with 11 additions and 11 deletions

View File

@ -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;