Skip to content

Commit 0084968

Browse files
committed
imgui: Don't draw game's last frame to avoid stutter
1 parent 1fc9794 commit 0084968

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
@@ -301,8 +301,6 @@ void VideoOutDriver::PresentThread(std::stop_token token) {
301301
if (timer.GetTotalWait().count() < 0) { // Dont draw too fast
302302
if (!main_port.is_open) {
303303
DrawBlankFrame();
304-
} else if (ImGui::Core::MustKeepDrawing()) {
305-
DrawLastFrame();
306304
}
307305
}
308306
} else {

0 commit comments

Comments
 (0)