mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-02 05:01:27 +00:00
- 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:
parent
8c144881a8
commit
a7a350d37e
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void gl_LoadExtensions()
|
||||||
|
|
||||||
int v;
|
int v;
|
||||||
|
|
||||||
if (!gl.legacyMode && !(gl.flags & RFL_SHADER_STORAGE_BUFFER))
|
if (!gl.legacyMode)
|
||||||
{
|
{
|
||||||
glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, &v);
|
glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, &v);
|
||||||
gl.maxuniforms = v;
|
gl.maxuniforms = v;
|
||||||
|
|
Loading…
Reference in a new issue