The light buffer should check for shader_storage_buffer_object rather than buffer_storage.

This commit is contained in:
Ralgor 2014-09-14 14:29:13 -05:00
parent ddf58b43c9
commit 1a70a6aabc
1 changed files with 1 additions and 1 deletions

View File

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