mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 20:27:57 +00:00
Fix shader compilation error.
This commit is contained in:
parent
3cec5f1fb4
commit
44b22bc6ff
@ -301,7 +301,7 @@ void GenerateVertexShader(int prim, char *buffer) {
|
||||
if (hasColor) {
|
||||
WRITE(p, " lowp vec3 unlitColor = a_color0.rgb;\n");
|
||||
} else {
|
||||
WRITE(p, " lowp vec3 unlitColor = u_matambientalpha;\n");
|
||||
WRITE(p, " lowp vec3 unlitColor = vec3(u_matambientalpha);\n");
|
||||
}
|
||||
// TODO: Declare variables for dots for shade mapping if needed.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user