Fix some validation errors
This commit is contained in:
parent
4f6fce5bbc
commit
b0d182c099
2 changed files with 4 additions and 3 deletions
|
|
@ -150,6 +150,7 @@ void VkLightmap::RenderAtlasImage(size_t pageIndex, const TArray<LevelMeshSurfac
|
|||
if (lights.Pos + lightCount > lights.BufferSize || vertices.Pos + vertexCount > vertices.BufferSize)
|
||||
{
|
||||
// Flush scene buffers
|
||||
fb->GetCommands()->GetTransferCommands()->endRenderPass();
|
||||
fb->GetCommands()->WaitForCommands(false);
|
||||
lights.Pos = 0;
|
||||
vertices.Pos = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue