update emoji autocorrect entries from po-files
[LibreOffice.git] / external / collada2gltf / patches / collada2gltf.add-glsl-version.patch.1
blob5da297836064f72d75904033115a87bdd5cdee65
1 diff -ur collada2gltf.org/shaders/commonProfileShaders.cpp collada2gltf/shaders/commonProfileShaders.cpp
2 --- collada2gltf.org/shaders/commonProfileShaders.cpp   2014-11-26 22:05:07.445842977 +0100
3 +++ collada2gltf/shaders/commonProfileShaders.cpp       2014-11-26 22:07:24.313844588 +0100
4 @@ -367,7 +367,8 @@
5      public:
6          
7          GLSLShader(shared_ptr <GLTFProfile> profile) {
8 -            this->_declarations = "#ifdef GL_ES_VERSION_2_0\n";
9 +            this->_declarations = "#version 130\n";
10 +            this->_declarations += "#ifdef GL_ES_VERSION_2_0\n";
11              this->_declarations += "precision highp float;\n";
12              this->_declarations += "#endif\n";
13              this->_body = "void main(void) {\n";