diff options
Diffstat (limited to 'include/api-test/vk-device.hpp')
| -rw-r--r-- | include/api-test/vk-device.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/api-test/vk-device.hpp b/include/api-test/vk-device.hpp index 32a0707..5b71529 100644 --- a/include/api-test/vk-device.hpp +++ b/include/api-test/vk-device.hpp @@ -15,12 +15,6 @@ using VmaAllocator = struct VmaAllocator_T*; class window; -struct vksurface { - VkSurfaceKHR vk_surface; - VkSwapchainKHR vk_swapchain; - uint32_t image_index; -}; - struct vksemaphore { VkSemaphore vk_semaphore = nullptr; uint64_t value = 0U; @@ -89,7 +83,7 @@ class vkdevice { void submit(std::span<command_buffer> buffers, vksemaphore* wait, vksemaphore* signal); - void present(vksurface& surface, const vksemaphore& semaphore); + void present(device_surface& surface, const vksemaphore& semaphore); private: vkdevice(const window& window); |
