diff --git a/src/gl/dynlights/gl_lightbuffer.cpp b/src/gl/dynlights/gl_lightbuffer.cpp index 6f7a0eecf..2265f58f0 100644 --- a/src/gl/dynlights/gl_lightbuffer.cpp +++ b/src/gl/dynlights/gl_lightbuffer.cpp @@ -50,7 +50,7 @@ FLightBuffer::FLightBuffer() { mBufferType = GL_SHADER_STORAGE_BUFFER; mBlockAlign = 0; - mBlockSize = mBufferSize / ELEMENT_SIZE; + mBlockSize = mBufferSize; mMaxUploadSize = mBlockSize; } else