Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix OpenGL ES 3 in the recent changes. texelFetch doesn't require the…
… lod argument in desktop GLSL versions, but in GLSL ES 3 it is a required argument.
  • Loading branch information
Sonicadvance1 committed Nov 24, 2013
1 parent 994426b commit 531f840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
Expand Up @@ -85,7 +85,7 @@ void CreatePrograms()
"COLOROUT(ocol0)\n"
"void main()\n"
"{\n"
" vec4 c0 = texelFetch(samp9, ivec2(uv0));\n"
" vec4 c0 = texelFetch(samp9, ivec2(uv0), 0);\n"
" float f = step(0.5, fract(uv0.x));\n"
" float y = mix(c0.b, c0.r, f);\n"
" float yComp = 1.164 * (y - 0.0625);\n"
Expand Down

0 comments on commit 531f840

Please sign in to comment.