Delay creating the accel struct until frame start
This commit is contained in:
parent
adfc7082f5
commit
542dfd3666
2 changed files with 30 additions and 26 deletions
|
|
@ -115,6 +115,9 @@ private:
|
|||
VkRenderBuffers *mActiveRenderBuffers = nullptr;
|
||||
|
||||
bool mVSync = false;
|
||||
|
||||
LevelMesh* levelMesh = nullptr;
|
||||
bool levelMeshChanged = true;
|
||||
};
|
||||
|
||||
class CVulkanError : public CEngineError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue