[host] capture: pass frameIndex to capture backends

This allows capture backends to track damage made to each frame.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-07-18 10:41:50 +10:00
1 parent f274bec8fc
commit 9ce4990793
5 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ static bool sendFrame(void)
return true;
}
app.iface->getFrame(fb, frame.height);
app.iface->getFrame(fb, frame.height, app.frameIndex);
return true;
}