aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/VulkanSwapChain.cpp
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-07-25 02:02:37 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-07-25 02:02:37 +0200
commitfdbba6d7ebb872ad4256b6a76d962b9c08a37531 (patch)
tree5336489d62ca92a120c40d1a97abc4829acf954f /src/VulkanSwapChain.cpp
parent328c11f4dfd2653f9b6d12633b38d7baa49958da (diff)
save commitvkChess
Diffstat (limited to 'src/VulkanSwapChain.cpp')
-rw-r--r--src/VulkanSwapChain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/VulkanSwapChain.cpp b/src/VulkanSwapChain.cpp
index 2ae5451..bdac6d2 100644
--- a/src/VulkanSwapChain.cpp
+++ b/src/VulkanSwapChain.cpp
@@ -13,7 +13,7 @@
#include "VulkanSwapChain.hpp"
#include "VkEngine.h"
-vks::VulkanSwapChain::VulkanSwapChain(ptrVkEngine _vke, bool vsync) {
+vke::VulkanSwapChain::VulkanSwapChain(ptrVkEngine _vke, bool vsync) {
vke = _vke;
GET_INSTANCE_PROC_ADDR(vke->instance, GetPhysicalDeviceSurfaceSupportKHR);
GET_INSTANCE_PROC_ADDR(vke->instance, GetPhysicalDeviceSurfaceCapabilitiesKHR);
@@ -136,7 +136,7 @@ vks::VulkanSwapChain::VulkanSwapChain(ptrVkEngine _vke, bool vsync) {
presentInfo = {VK_STRUCTURE_TYPE_PRESENT_INFO_KHR};
presentInfo.swapchainCount = 1;
}
-vks::VulkanSwapChain::~VulkanSwapChain()
+vke::VulkanSwapChain::~VulkanSwapChain()
{
vke->device->destroySemaphore(presentCompleteSemaphore);
@@ -149,7 +149,7 @@ vks::VulkanSwapChain::~VulkanSwapChain()
swapChain = VK_NULL_HANDLE;
}
-void vks::VulkanSwapChain::create(uint32_t& width, uint32_t& height)
+void vke::VulkanSwapChain::create(uint32_t& width, uint32_t& height)
{
vkDeviceWaitIdle (vke->device->dev);