starting swapchain implementation

This commit is contained in:
Kbz-8
2023-03-02 14:36:23 +01:00
parent 1fba8028db
commit b381b3662e
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);