Fix for gles shader profiles when validating shaders.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-03-09 19:38:51 -04:00
parent 856a4e60ae
commit 5ce084051a
+1 -1
View File
@@ -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);