diff options
| author | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-11-24 07:45:42 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-11-24 07:45:42 +0000 |
| commit | 531f840720b90ecb22e813d4aa46a593c2669488 (patch) | |
| tree | 9edaa45d99fd7fee668ab94f27b02f1cf691c71b /Source/Core/VideoBackends | |
| parent | 994426b3dc0e98c0bfdec727bcb3acbef90c95ef (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp index 3446a8ee19..cb7fb92e9c 100644 --- a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp +++ b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp @@ -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" |
