GRAPHICS: Use #version 130 on desktop [OpenGLS]

This commit is contained in:
Dries Harnie 2013-11-19 23:26:20 +01:00
parent 00e72387e0
commit a768689fbe

View File

@ -63,7 +63,11 @@ static GLuint createCompatShader(const char *shaderSource, GLenum shaderType, co
const GLchar *compatSource =
shaderType == GL_VERTEX_SHADER ? Graphics::BuiltinShaders::compatVertex : Graphics::BuiltinShaders::compatFragment;
const GLchar *shaderSources[] = {
#ifdef USE_GLES2
"#version 100\n",
#else
"#version 130\n",
#endif
compatSource,
shaderSource
};