mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix #version statement for GLES 2.0 vertex shaders
This commit is contained in:
parent
2e9f42a75f
commit
4053c3d1ec
@ -122,7 +122,7 @@ bool GenerateVertexShaderGLSL(const VShaderID &id, char *buffer, const ShaderLan
|
|||||||
highpFog = (gl_extensions.bugs & BUG_PVR_SHADER_PRECISION_BAD) ? true : false;
|
highpFog = (gl_extensions.bugs & BUG_PVR_SHADER_PRECISION_BAD) ? true : false;
|
||||||
highpTexcoord = highpFog;
|
highpTexcoord = highpFog;
|
||||||
}
|
}
|
||||||
WRITE(p, "#version %d%s\n", compat.glslVersionNumber, compat.gles ? " es" : "");
|
WRITE(p, "#version %d%s\n", compat.glslVersionNumber, compat.glslES30 ? " es" : "");
|
||||||
WRITE(p, "#define splat3(x) vec3(x)\n");
|
WRITE(p, "#define splat3(x) vec3(x)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user