Delay creating the accel struct until frame start

This commit is contained in:
Magnus Norddahl 2023-09-11 14:55:31 +02:00
commit 542dfd3666
2 changed files with 30 additions and 26 deletions

View file

@ -115,6 +115,9 @@ private:
VkRenderBuffers *mActiveRenderBuffers = nullptr;
bool mVSync = false;
LevelMesh* levelMesh = nullptr;
bool levelMeshChanged = true;
};
class CVulkanError : public CEngineError