From f12460d1f419a3364d683727ec9d32404ec71a97 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 7 Jan 2017 12:32:15 +0100 Subject: [PATCH] VideoSW: Fix GL ES shader. --- Source/Core/VideoBackends/Software/SWOGLWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp index 541dfe3608..9d42ff5790 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -55,7 +55,7 @@ void SWOGLWindow::Prepare() "out vec4 ColorOut;\n" "uniform sampler2D Texture;\n" "void main() {\n" - " ColorOut = texture2D(Texture, TexCoord);\n" + " ColorOut = texture(Texture, TexCoord);\n" "}\n"; std::string vertex_shader = "out vec2 TexCoord;\n"