Just to be more clear about explicit attrib location availability in GLES

This commit is contained in:
Deve 2017-02-02 22:26:37 +01:00
parent 19cb9cd041
commit 2557a700cc

View File

@ -239,7 +239,8 @@ void CentralVideoSettings::init()
hasTextureSwizzle = true;
}
if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_EXPLICIT_ATTRIB_LOCATION))
if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_EXPLICIT_ATTRIB_LOCATION) &&
m_glsl == true)
{
Log::info("GLDriver", "Explicit Attrib Location Present");
hasExplicitAttribLocation = true;