mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 02:34:00 +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:
@@ -112,6 +112,6 @@ typedef struct CaptureInterface
|
||||
|
||||
CaptureResult (*capture )();
|
||||
CaptureResult (*waitFrame )(CaptureFrame * frame, const size_t maxFrameSize);
|
||||
CaptureResult (*getFrame )(FrameBuffer * frame, const unsigned int height);
|
||||
CaptureResult (*getFrame )(FrameBuffer * frame, const unsigned int height, int frameIndex);
|
||||
}
|
||||
CaptureInterface;
|
||||
|
Reference in New Issue
Block a user