mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-05 18:24:08 +00:00
[host] capture: pass frameIndex to capture backends
This allows capture backends to track damage made to each frame.
This commit is contained in:
@@ -213,7 +213,8 @@ static CaptureResult xcb_waitFrame(CaptureFrame * frame,
|
||||
return CAPTURE_RESULT_OK;
|
||||
}
|
||||
|
||||
static CaptureResult xcb_getFrame(FrameBuffer * frame, const unsigned int height)
|
||||
static CaptureResult xcb_getFrame(FrameBuffer * frame,
|
||||
const unsigned int height, int frameIndex)
|
||||
{
|
||||
assert(this);
|
||||
assert(this->initialized);
|
||||
|
Reference in New Issue
Block a user