mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[common] Update framebuffer metadata + references
This commit is contained in:

committed by
Geoffrey McRae

parent
78d2b76313
commit
53c843d9dd
@@ -275,7 +275,7 @@ static bool sendFrame(void)
|
||||
fi->frameHeight = frame.frameHeight;
|
||||
fi->stride = frame.stride;
|
||||
fi->pitch = frame.pitch;
|
||||
fi->offset = app.pageSize - FrameBufferStructSize;
|
||||
fi->offset = app.pageSize - sizeof(FrameBuffer);
|
||||
fi->flags =
|
||||
(os_blockScreensaver() ?
|
||||
FRAME_FLAG_BLOCK_SCREENSAVER : 0) |
|
||||
|
Reference in New Issue
Block a user