mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
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.
This commit is contained in:
parent
994426b3dc
commit
531f840720
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue