mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 19:41:11 +00:00
Fix unmap asserts
This commit is contained in:
parent
684bfb3e9e
commit
87f52367ad
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ VkLightmap::VkLightmap(VulkanRenderDevice* fb) : fb(fb)
|
|||
|
||||
VkLightmap::~VkLightmap()
|
||||
{
|
||||
if (vertices.Buffer)
|
||||
vertices.Buffer->Unmap();
|
||||
if (lights.Buffer)
|
||||
lights.Buffer->Unmap();
|
||||
}
|
||||
|
||||
void VkLightmap::Raytrace(hwrenderer::LevelMesh* level)
|
||||
|
|
Loading…
Reference in a new issue