starting swapchain implementation

This commit is contained in:
2023-03-02 14:36:23 +01:00
parent 63989790d2
commit e299d56058
2 changed files with 17 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ int main(void)
VkDevice device = kvfCreateDefaultDevice(ph_device);
VkQueue graphics_queue = kvfGetDeviceQueue(device, KVF_GRAPHICS_QUEUE);
VkQueue present_queue = kvfGetDeviceQueue(device, KVF_PRESENT_QUEUE);
VkSwapchainKHR swapchain = kvfCreateSwapchain(device, ph_device, surface);
SDL_Delay(2000);