This commit is contained in:
Eduardo Bart
2011-12-29 17:36:43 -02:00
parent d597335135
commit 7c0ad7a356
7 changed files with 17 additions and 11 deletions

View File

@@ -55,8 +55,8 @@ bool Shader::compileSourceCode(const std::string& sourceCode)
static const char *qualifierDefines =
"#ifndef GL_FRAGMENT_PRECISION_HIGH\n"
"#define highp mediump\n"
"#endif\n";
"precision highp float;\n"
"#endif\n"
"precision highp float;\n";
#endif
std::string code = qualifierDefines;