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]); }