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";