This commit is contained in:
Eduardo Bart
2011-12-15 16:42:48 -02:00
parent 8926f33679
commit 1339e18202
3 changed files with 6 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ bool Shader::compileSourceCode(const std::string& sourceCode)
"#ifndef GL_FRAGMENT_PRECISION_HIGH\n"
"#define highp mediump\n"
"#endif\n";
"precision highp float;\n"
#endif
std::string code = qualifierDefines;