mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
The light buffer should check for shader_storage_buffer_object rather than buffer_storage.
This commit is contained in:
parent
ddf58b43c9
commit
1a70a6aabc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ FLightBuffer::FLightBuffer()
|
|||
|
||||
mBufferSize = INITIAL_BUFFER_SIZE;
|
||||
mByteSize = mBufferSize * sizeof(float);
|
||||
if (gl.flags & RFL_BUFFER_STORAGE)
|
||||
if (gl.flags & RFL_SHADER_STORAGE_BUFFER)
|
||||
{
|
||||
mBufferType = GL_SHADER_STORAGE_BUFFER;
|
||||
mBlockAlign = -1;
|
||||
|
|
Loading…
Reference in a new issue