From 2557a700cc9e9c05299234acb2240aad43c26cca Mon Sep 17 00:00:00 2001 From: Deve Date: Thu, 2 Feb 2017 22:26:37 +0100 Subject: [PATCH] Just to be more clear about explicit attrib location availability in GLES --- src/graphics/central_settings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp index 53651fd36..d3ce43759 100644 --- a/src/graphics/central_settings.cpp +++ b/src/graphics/central_settings.cpp @@ -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;