Fix buffer flush

This commit is contained in:
RaveYard 2022-10-30 03:15:10 +01:00
parent e064c7a01a
commit 0a618298a2

View file

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