Browse Source

Vk: Quick fix

Signed-off-by: Squareys <Squareys@googlemail.com>
pull/202/head
Squareys 10 years ago
parent
commit
0f12a9a979
  1. 2
      src/Magnum/Vk/Swapchain.h

2
src/Magnum/Vk/Swapchain.h

@ -77,7 +77,7 @@ class MAGNUM_VK_EXPORT Swapchain {
VkResult err = vkAcquireNextImageKHR(_device.vkDevice(), VkResult err = vkAcquireNextImageKHR(_device.vkDevice(),
_swapchain, UINT64_MAX, _swapchain, UINT64_MAX,
presentCompleteSemaphore, presentCompleteSemaphore,
VkFence(nullptr), &_currentIndex); VK_NULL_HANDLE, &_currentIndex);
MAGNUM_VK_ASSERT_ERROR(err); MAGNUM_VK_ASSERT_ERROR(err);
return *this; return *this;

Loading…
Cancel
Save