mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-16 17:31:50 +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;
|
mBufferSize = INITIAL_BUFFER_SIZE;
|
||||||
mByteSize = mBufferSize * sizeof(float);
|
mByteSize = mBufferSize * sizeof(float);
|
||||||
if (gl.flags & RFL_BUFFER_STORAGE)
|
if (gl.flags & RFL_SHADER_STORAGE_BUFFER)
|
||||||
{
|
{
|
||||||
mBufferType = GL_SHADER_STORAGE_BUFFER;
|
mBufferType = GL_SHADER_STORAGE_BUFFER;
|
||||||
mBlockAlign = -1;
|
mBlockAlign = -1;
|
||||||
|
|
Loading…
Reference in a new issue