renderer_vulkan: Fix warnings and cleanup
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#define VULKAN_HPP_NO_CONSTRUCTORS
|
||||
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include "common/assert.h"
|
||||
@@ -942,7 +941,7 @@ void RendererVulkan::SwapBuffers() {
|
||||
|
||||
// Create swapchain if needed
|
||||
if (swapchain.NeedsRecreation()) {
|
||||
swapchain.Create(layout.width, layout.height, false);
|
||||
swapchain.Create(layout.width, layout.height);
|
||||
}
|
||||
|
||||
// Calling Submit will change the slot so get the required semaphores now
|
||||
|
||||
Reference in New Issue
Block a user