From a92527eadb569f72de59b50128d6d7f897110b63 Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Sat, 20 Jul 2024 13:31:22 +0200 Subject: [PATCH] Fix #822 --- Backends/Graphics4/G4onG5/Sources/kinc/backend/graphics4/G4.c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Backends/Graphics4/G4onG5/Sources/kinc/backend/graphics4/G4.c.h b/Backends/Graphics4/G4onG5/Sources/kinc/backend/graphics4/G4.c.h index 5d0d7881f..6fc7ab808 100644 --- a/Backends/Graphics4/G4onG5/Sources/kinc/backend/graphics4/G4.c.h +++ b/Backends/Graphics4/G4onG5/Sources/kinc/backend/graphics4/G4.c.h @@ -340,6 +340,7 @@ void kinc_g4_begin(int window) { bool resized = windows[window].resized; if (resized) { + kinc_g5_command_list_wait_for_execution_to_finish(&commandList); for (int i = 0; i < bufferCount; ++i) { kinc_g5_render_target_destroy(&windows[current_window].framebuffers[i]); }