summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-15 16:50:35 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-08-15 16:50:35 +0200
commit028c9662af563d22303b669072ac21195ea955b1 (patch)
tree106152a917f466a0077575a8f91136302e9ad55e /external
parentc7307c77254557646f33017af915f6808a861e29 (diff)
collada2gltf: compatibility fix: OpenGL ES 2.0 is enough
That's why it was worked in some case, when OpenGL ES is available then it is the default and not the GLSL 1.1. Change-Id: I60d545e76115396433df8dc300bc13935099c776
Diffstat (limited to 'external')
-rw-r--r--external/collada2gltf/patches/fix_linux_shader_compiling.patch.12
1 files changed, 1 insertions, 1 deletions
diff --git a/external/collada2gltf/patches/fix_linux_shader_compiling.patch.1 b/external/collada2gltf/patches/fix_linux_shader_compiling.patch.1
index 5b259c5f5ef4..0a09385646b7 100644
--- a/external/collada2gltf/patches/fix_linux_shader_compiling.patch.1
+++ b/external/collada2gltf/patches/fix_linux_shader_compiling.patch.1
@@ -6,7 +6,7 @@ diff -ur collada2gltf.org/shaders/commonProfileShaders.cpp collada2gltf/shaders/
GLSLShader(shared_ptr <GLTFProfile> profile) {
- this->_declarations = "precision highp float;\n";;
-+ this->_declarations = "#ifdef GL_ES_VERSION_3_0\n#version 300 es\n#else\n#version 130\n#endif\nprecision highp float;\n";
++ this->_declarations = "#ifdef GL_ES_VERSION_2_0\n#version 100 es\n#else\n#version 130\n#endif\nprecision highp float;\n";
this->_body = "void main(void) {\n";
this->_profile = profile;
}