oops, left a hack uncommented

This commit is contained in:
zeromus 2009-06-20 08:02:54 +00:00
parent 959207cbeb
commit 1dcbe7b83a
1 changed files with 11 additions and 11 deletions

View File

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