- fixed incorrect block size calculation.

This commit is contained in:
Christoph Oelckers 2018-08-14 20:30:53 +02:00
parent 6f81310fa7
commit c5d1b884dd

View file

@ -50,7 +50,7 @@ FLightBuffer::FLightBuffer()
{
mBufferType = GL_SHADER_STORAGE_BUFFER;
mBlockAlign = 0;
mBlockSize = mBufferSize / ELEMENT_SIZE;
mBlockSize = mBufferSize;
mMaxUploadSize = mBlockSize;
}
else