mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Specify an older GLSL version for compat, we don't use new features anyway because of ES 2.0.
This commit is contained in:
parent
0183a407dd
commit
62cc953bad
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ char *GenerateFragmentShader()
|
|||
#if defined(GLSL_ES_1_0)
|
||||
WRITE(p, "precision mediump float;\n");
|
||||
#elif !defined(FORCE_OPENGL_2_0)
|
||||
WRITE(p, "#version 130\n");
|
||||
WRITE(p, "#version 110\n");
|
||||
#endif
|
||||
|
||||
int lmode = gstate.lmode & 1;
|
||||
|
|
|
@ -129,7 +129,7 @@ char *GenerateVertexShader(int prim)
|
|||
#if defined(USING_GLES2)
|
||||
WRITE(p, "precision highp float;\n");
|
||||
#elif !defined(FORCE_OPENGL_2_0)
|
||||
WRITE(p, "#version 130\n");
|
||||
WRITE(p, "#version 110\n");
|
||||
#endif
|
||||
|
||||
int lmode = gstate.lmode & 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue