mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fix for gles shader profiles when validating shaders.
--HG-- branch : minor
This commit is contained in:
@@ -217,7 +217,7 @@ bool Shader::validate(Graphics *gfx, bool gles, const ShaderSource &source, bool
|
||||
bool supportsGLSL3 = gfx->isSupported(Graphics::FEATURE_GLSL3);
|
||||
|
||||
int defaultversion = gles ? 100 : 120;
|
||||
EProfile defaultprofile = gles ? EEsProfile : ENoProfile;
|
||||
EProfile defaultprofile = ENoProfile;
|
||||
|
||||
glslang::TShader vshader(EShLangVertex);
|
||||
glslang::TShader pshader(EShLangFragment);
|
||||
|
||||
Reference in New Issue
Block a user