Skip to content

Commit

Permalink
Fix potential crash when resizing windows when using D3D12 graphics b…
Browse files Browse the repository at this point in the history
…ackend
  • Loading branch information
FelixK15 committed Nov 27, 2023
1 parent fda05ca commit 8c7f8f8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ void kinc_g4_begin(int window) {
for (int i = 0; i < bufferCount; ++i) {
kinc_g5_render_target_destroy(&windows[current_window].framebuffers[i]);
}
windows[current_window].currentBuffer = 0;
}

kinc_g5_begin(&windows[current_window].framebuffers[windows[current_window].currentBuffer], window);
Expand Down

0 comments on commit 8c7f8f8

Please sign in to comment.