Vulkan: Recreate the swapchain if we get too many "out of date" frames.

Should help an issue on my Linux laptop with Intel GPU.
This commit is contained in:
Henrik Rydgård committed 2020-06-22 00:45:05 +02:00
1 parent b45128025f
commit cd1d73436d
6 files changed
+33 -3

No files matched your search

+2
View File
@@ -1095,6 +1095,8 @@ void NativeRender(GraphicsContext *graphicsContext) {
NativeMessageReceived("gpu_resized", "");
}
#endif
} else {
graphicsContext->Poll();
}
ui_draw2d.PopDrawMatrix();