Skip to content

Commit

Permalink
Attempt to fix glsl depal error reported in #11588 (ATI/AMD)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 25, 2018
1 parent 04f57bd commit c5c1c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Common/DepalettizeShaderCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void GenerateDepalShaderFloat(char *buffer, GEBufferFormat pixelFormat, ShaderLa
WRITE(p, "#version 100\n");
WRITE(p, "precision mediump float;\n");
} else {
WRITE(p, "#version 110\n");
WRITE(p, "#version %d\n", gl_extensions.GLSLVersion());
}
WRITE(p, "varying vec2 v_texcoord0;\n");
WRITE(p, "uniform sampler2D tex;\n");
Expand Down

0 comments on commit c5c1c46

Please sign in to comment.