mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 20:01:25 +00:00
GRAPHICS: Use #version 130 on desktop [OpenGLS]
This commit is contained in:
parent
00e72387e0
commit
a768689fbe
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user