Remove hacks associated with SetLevelMesh
This commit is contained in:
parent
b0d182c099
commit
adfc7082f5
4 changed files with 6 additions and 9 deletions
|
|
@ -55,12 +55,9 @@ void VkRaytrace::SetLevelMesh(LevelMesh* mesh)
|
|||
if (!mesh)
|
||||
mesh = &NullMesh;
|
||||
|
||||
if (mesh != Mesh)
|
||||
{
|
||||
Reset();
|
||||
Mesh = mesh;
|
||||
CreateVulkanObjects();
|
||||
}
|
||||
Reset();
|
||||
Mesh = mesh;
|
||||
CreateVulkanObjects();
|
||||
}
|
||||
|
||||
void VkRaytrace::Reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue