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