mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fixed inconsistent dymanic lights setup with UBO
https://forum.zdoom.org/viewtopic.php?t=62585
This commit is contained in:
parent
2ce91ea62f
commit
fb71563311
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,6 @@ FLightBuffer::FLightBuffer()
|
|||
mBuffer->SetData(mByteSize, nullptr, false);
|
||||
|
||||
Clear();
|
||||
mLastMappedIndex = UINT_MAX;
|
||||
}
|
||||
|
||||
FLightBuffer::~FLightBuffer()
|
||||
|
@ -75,6 +74,7 @@ FLightBuffer::~FLightBuffer()
|
|||
void FLightBuffer::Clear()
|
||||
{
|
||||
mIndex = 0;
|
||||
mLastMappedIndex = UINT_MAX;
|
||||
}
|
||||
|
||||
int FLightBuffer::UploadLights(FDynLightData &data)
|
||||
|
|
Loading…
Reference in a new issue