Fix buffer flush

This commit is contained in:
RaveYard 2022-10-30 03:15:10 +01:00
parent e064c7a01a
commit 0a618298a2
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,8 @@ void GPURaytracer::RenderAtlasImage(size_t pageIndex)
FinishCommands();
sceneLightPos = 0;
sceneVertexPos = 0;
firstLight = 0;
firstVertex = 0;
BeginCommands();
beginPass();