Skip to content

Commit a88d575

Browse files
committed
imgui: Don't draw game's last frame to avoid stutter
1 parent 72a7767 commit a88d575

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/core/libraries/videoout/driver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ void VideoOutDriver::PresentThread(std::stop_token token) {
303303
if (timer.GetTotalWait().count() < 0) { // Dont draw too fast
304304
if (!main_port.is_open) {
305305
DrawBlankFrame();
306-
} else if (ImGui::Core::MustKeepDrawing()) {
307-
DrawLastFrame();
308306
}
309307
}
310308
} else {

0 commit comments

Comments
 (0)