MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / RecreateSwapChain

Function RecreateSwapChain

src/VulkanSample.cpp:2433–2441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2431}
2432
2433static void RecreateSwapChain()
2434{
2435 if(IsWindowMinimizedOrZeroSized())
2436 return;
2437
2438 vkDeviceWaitIdle(g_hDevice);
2439 DestroySwapchain(false);
2440 CreateSwapchain();
2441}
2442
2443static void DrawFrame()
2444{

Callers 2

DrawFrameFunction · 0.85
HandlePossibleSizeChangeFunction · 0.85

Calls 3

DestroySwapchainFunction · 0.85
CreateSwapchainFunction · 0.85

Tested by

no test coverage detected