- fixed incorrect block size calculation.
This commit is contained in:
parent
6f81310fa7
commit
c5d1b884dd
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ FLightBuffer::FLightBuffer()
|
|||
{
|
||||
mBufferType = GL_SHADER_STORAGE_BUFFER;
|
||||
mBlockAlign = 0;
|
||||
mBlockSize = mBufferSize / ELEMENT_SIZE;
|
||||
mBlockSize = mBufferSize;
|
||||
mMaxUploadSize = mBlockSize;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue