mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 16:49:50 +00:00
VertexShader : Set case 3 as default #1
This commit is contained in:
parent
703d5a70f3
commit
ba458bf421
@ -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());
|
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;
|
break;
|
||||||
|
|
||||||
case 3:
|
default:
|
||||||
// ILLEGAL
|
// ILLEGAL
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user