From a7a350d37e95dc2a3fb4d11dcdc71fc770b057b2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 29 Jul 2018 21:31:16 +0200 Subject: [PATCH] - always retrieve uniform buffer properties. They are sometimes needed even if shader storage buffers are available. # Conflicts: # src/gl_load/gl_interface.cpp --- src/gl/system/gl_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/system/gl_interface.cpp b/src/gl/system/gl_interface.cpp index 0305eaa91..6e87eb95a 100644 --- a/src/gl/system/gl_interface.cpp +++ b/src/gl/system/gl_interface.cpp @@ -289,7 +289,7 @@ void gl_LoadExtensions() int v; - if (!gl.legacyMode && !(gl.flags & RFL_SHADER_STORAGE_BUFFER)) + if (!gl.legacyMode) { glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, &v); gl.maxuniforms = v;