Browse Source

Revert "Fix frame_counter deadlock"

This reverts commit 006234de42.
pull/212/head
Gamer64 7 months ago
parent
commit
b9e2b61308
  1. 4
      src/video_core/gpu_thread.cpp

4
src/video_core/gpu_thread.cpp

@ -50,10 +50,10 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
if (auto* submit_list = std::get_if<SubmitListCommand>(&next.data)) {
bool skip_frame = false;
if (Settings::values.frame_interpolation.GetValue()) {
// Skip every other frame, but render frame 0
// Skip every other frame
skip_frame = (frame_counter % 2 == 1);
frame_counter++;
}
frame_counter++;
if (!skip_frame) {
scheduler.Push(submit_list->channel, std::move(submit_list->entries));
}

Loading…
Cancel
Save