From 1a70a6aabcb6079a08222507515f3be3515e95e7 Mon Sep 17 00:00:00 2001 From: Ralgor Date: Sun, 14 Sep 2014 14:29:13 -0500 Subject: [PATCH] The light buffer should check for shader_storage_buffer_object rather than buffer_storage. --- src/gl/dynlights/gl_lightbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/dynlights/gl_lightbuffer.cpp b/src/gl/dynlights/gl_lightbuffer.cpp index 3031d3916e..e8d2520da0 100644 --- a/src/gl/dynlights/gl_lightbuffer.cpp +++ b/src/gl/dynlights/gl_lightbuffer.cpp @@ -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;