diff --git a/data/graphical_restrictions.xml b/data/graphical_restrictions.xml index f9db1ec2f..999b5520a 100644 --- a/data/graphical_restrictions.xml +++ b/data/graphical_restrictions.xml @@ -39,4 +39,5 @@ + diff --git a/src/graphics/central_settings.cpp b/src/graphics/central_settings.cpp index f6e8127cc..a7925643a 100644 --- a/src/graphics/central_settings.cpp +++ b/src/graphics/central_settings.cpp @@ -252,6 +252,13 @@ void CentralVideoSettings::init() Log::info("GLDriver", "Explicit Attrib Location Present"); hasExplicitAttribLocation = true; } + + if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_UNIFORM_BUFFER_OBJECT) && + m_glsl == true) + { + hasUBO = true; + Log::info("GLDriver", "ARB Uniform Buffer Object Present"); + } if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_TEXTURE_FORMAT_BGRA8888) && (hasGLExtension("GL_IMG_texture_format_BGRA8888") ||