mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 15:32:45 +00:00
hwr2: Reset extra lighttable textures
This commit is contained in:
parent
e40b3ac1e3
commit
79a01789b8
1 changed files with 6 additions and 0 deletions
|
|
@ -297,6 +297,12 @@ void MainPaletteManager::postpass(Rhi& rhi)
|
||||||
rhi.destroy_texture(cm.second);
|
rhi.destroy_texture(cm.second);
|
||||||
}
|
}
|
||||||
colormaps_.clear();
|
colormaps_.clear();
|
||||||
|
|
||||||
|
for (auto& lt : lighttables_)
|
||||||
|
{
|
||||||
|
rhi.destroy_texture(lt.second);
|
||||||
|
}
|
||||||
|
lighttables_.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
CommonResourcesManager::CommonResourcesManager() = default;
|
CommonResourcesManager::CommonResourcesManager() = default;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue