summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 33a9115..f356221 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2907,6 +2907,7 @@ void DetermineMonitor() {
}
void RecreateSwapchain() {
+ pkeRuntime.graphics.resize_index += 1;
int width, height = 0;
glfwGetFramebufferSize(window, &width, &height);
while (width == 0 || height == 0) {