- fixed incorrect block size calculation.

This commit is contained in:
Christoph Oelckers 2018-08-14 20:30:53 +02:00
parent 6f81310fa7
commit c5d1b884dd
1 changed files with 1 additions and 1 deletions

View File

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