- always retrieve uniform buffer properties.

They are sometimes needed even if shader storage buffers are available.

# Conflicts:
#	src/gl_load/gl_interface.cpp
This commit is contained in:
Christoph Oelckers 2018-07-29 21:31:16 +02:00 committed by drfrag666
parent 8c144881a8
commit a7a350d37e

View file

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