Fix a bunch of compiler warnings

This commit is contained in:
Connor McLaughlin
2020-07-09 13:29:58 +10:00
parent 60a739e305
commit a5fe740e30
11 changed files with 15 additions and 19 deletions

View File

@ -684,8 +684,6 @@ bool Context::CreateCommandBuffers()
void Context::DestroyCommandBuffers()
{
VkDevice device = m_device;
for (FrameResources& resources : m_frame_resources)
{
for (auto& it : resources.cleanup_resources)