mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix shader compilation error.
This commit is contained in:
parent
3cec5f1fb4
commit
44b22bc6ff
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue