mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-12 10:28:08 +00:00
[c-host] app: inital capture is now working
This commit is contained in:
@@ -203,6 +203,7 @@ static bool xcb_getFrame(CaptureFrame * frame)
|
||||
frame->width = this->width;
|
||||
frame->height = this->height;
|
||||
frame->pitch = this->width * 4;
|
||||
frame->stride = this->width;
|
||||
frame->format = CAPTURE_FMT_BGRA;
|
||||
memcpy(frame->data, this->data, this->width * this->height * 4);
|
||||
|
||||
|
Reference in New Issue
Block a user