mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 01:35:47 -04:00
Fix a bunch of compiler warnings
This commit is contained in:
@ -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)
|
||||
|
@ -75,7 +75,7 @@ static void DestroyMetalLayer(WindowInfo& wi)
|
||||
|
||||
namespace Vulkan {
|
||||
SwapChain::SwapChain(const WindowInfo& wi, VkSurfaceKHR surface, bool vsync)
|
||||
: m_wi(wi), m_surface(surface), m_vsync_enabled(vsync)
|
||||
: m_wi(wi), m_vsync_enabled(vsync), m_surface(surface)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user