Browse Source

NvFlinger: Don't swap buffers if a frame is missing and always trigger event in sync gpu.

pull/15/merge
Fernando Sahmkow 6 years ago
committed by FernandoS27
parent
commit
976d9ef43c
  1. 4
      src/core/hle/service/nvflinger/nvflinger.cpp

4
src/core/hle/service/nvflinger/nvflinger.cpp

@ -203,7 +203,9 @@ void NVFlinger::Compose() {
if (!buffer) {
// There was no queued buffer to draw, render previous frame
system.GPU().SwapBuffers({});
auto& gpu = system.GPU();
// Always trigger on sync GPU.
trigger_event = !gpu.IsAsync();
continue;
}

Loading…
Cancel
Save