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:
@@ -1027,7 +1027,7 @@ static CaptureResult dxgi_waitFrame(CaptureFrame * frame, const size_t maxFrameS
|
||||
}
|
||||
|
||||
static CaptureResult dxgi_getFrame(FrameBuffer * frame,
|
||||
const unsigned int height)
|
||||
const unsigned int height, int frameIndex)
|
||||
{
|
||||
assert(this);
|
||||
assert(this->initialized);
|
||||
|
@@ -428,7 +428,7 @@ static CaptureResult nvfbc_waitFrame(CaptureFrame * frame,
|
||||
}
|
||||
|
||||
static CaptureResult nvfbc_getFrame(FrameBuffer * frame,
|
||||
const unsigned int height)
|
||||
const unsigned int height, int frameIndex)
|
||||
{
|
||||
framebuffer_write(
|
||||
frame,
|
||||
|
Reference in New Issue
Block a user