VertexShader : Set case 3 as default #1

This commit is contained in:
raven02 2013-07-29 16:53:06 +08:00
parent 703d5a70f3
commit ba458bf421

View File

@ -562,7 +562,7 @@ void GenerateVertexShader(int prim, char *buffer, bool useHWTransform) {
WRITE(p, " v_texcoord = u_uvscaleoffset.xy * vec2(1.0 + dot(normalize(u_lightpos%i), worldnormal), 1.0 - dot(normalize(u_lightpos%i), worldnormal)) * 0.5;\n", gstate.getUVLS0(), gstate.getUVLS1());
break;
case 3:
default:
// ILLEGAL
break;
}