From adca138f0333eb011d1198269366a304759f3f15 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Thu, 29 Nov 2018 16:09:18 -0600 Subject: [PATCH] GTK+: OpenGL: Use texture in GLSL 1.40 shader. --- gtk/src/gtk_display_driver_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/gtk_display_driver_opengl.cpp b/gtk/src/gtk_display_driver_opengl.cpp index e20ffa87..3df42e59 100644 --- a/gtk/src/gtk_display_driver_opengl.cpp +++ b/gtk/src/gtk_display_driver_opengl.cpp @@ -61,7 +61,7 @@ static const GLchar *stock_fragment_shader_140 = "void main()\n" "{\n" -" fragcolor = texture2D(texmap, texcoord);\n" +" fragcolor = texture(texmap, texcoord);\n" "}\n";