mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Fix shader compilation error.
This commit is contained in:
1 parent
3cec5f1fb4
commit
44b22bc6ff
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user