mirror of https://github.com/buggins/dlangui.git
trying to fix OpenGL support on Mac OSX
This commit is contained in:
parent
20f6488694
commit
5f01235be1
|
@ -85,7 +85,7 @@ class GLProgram {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void compatibilityFixes(ref char[] code, GLuint type) {
|
private void compatibilityFixes(ref char[] code, GLuint type) {
|
||||||
if (glslversionInt < 150)
|
//if (glslversionInt < 150)
|
||||||
code = replace(code, " texture(", " texture2D(");
|
code = replace(code, " texture(", " texture2D(");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue