Browse Source

Fix for gles shader profiles when validating shaders.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
5ce084051a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Shader.cpp

+ 1 - 1
src/modules/graphics/Shader.cpp

@@ -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);