Skip to content
Snippets Groups Projects
Commit 976d9ef4 authored by Fernando Sahmkow's avatar Fernando Sahmkow Committed by FernandoS27
Browse files

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

parent 5b5e60ff
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment