update emoji autocorrect entries from po-files
[LibreOffice.git] / external / collada2gltf / patches / shader_compatibility.patch.1
blob948d8caa5f880bafee9ce4086f1b2277d425e147
1 diff -ur collada2gltf.org/shaders/commonProfileShaders.cpp collada2gltf/shaders/commonProfileShaders.cpp
2 --- collada2gltf.org/shaders/commonProfileShaders.cpp   2014-08-17 08:57:52.187210533 +0200
3 +++ collada2gltf/shaders/commonProfileShaders.cpp       2014-08-17 08:59:48.427215491 +0200
4 @@ -367,7 +367,9 @@
5      public:
6          
7          GLSLShader(shared_ptr <GLTFProfile> profile) {
8 -            this->_declarations = "precision highp float;\n";;
9 +            this->_declarations = "#ifdef GL_ES_VERSION_2_0\n";
10 +            this->_declarations += "precision highp float;\n";
11 +            this->_declarations += "#endif\n";
12              this->_body = "void main(void) {\n";
13              this->_profile = profile;
14          }