From 5f01235be11e83f8c682d6bc3f2aadc5a8e47cf0 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Fri, 20 Mar 2015 14:56:14 +0300 Subject: [PATCH] trying to fix OpenGL support on Mac OSX --- src/dlangui/graphics/glsupport.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlangui/graphics/glsupport.d b/src/dlangui/graphics/glsupport.d index d2896ec4..fccea738 100644 --- a/src/dlangui/graphics/glsupport.d +++ b/src/dlangui/graphics/glsupport.d @@ -85,7 +85,7 @@ class GLProgram { } private void compatibilityFixes(ref char[] code, GLuint type) { - if (glslversionInt < 150) + //if (glslversionInt < 150) code = replace(code, " texture(", " texture2D("); }