mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[idd] config: retain four-decimal refresh rates
This commit is contained in:
@@ -564,14 +564,14 @@ bool CPipeServer::SetCursorPos(int32_t x, int32_t y)
|
||||
}
|
||||
|
||||
void CPipeServer::SetDisplayMode(
|
||||
uint32_t width, uint32_t height, uint32_t refreshMilliHz)
|
||||
uint32_t width, uint32_t height, uint32_t refresh100uHz)
|
||||
{
|
||||
LGPipeMsg msg = {};
|
||||
msg.size = sizeof(msg);
|
||||
msg.type = LGPipeMsg::SETDISPLAYMODE;
|
||||
msg.displayMode.width = width;
|
||||
msg.displayMode.height = height;
|
||||
msg.displayMode.refreshMilliHz = refreshMilliHz;
|
||||
msg.displayMode.refresh100uHz = refresh100uHz;
|
||||
WriteMsg(msg);
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class CPipeServer : private IPipeEndpointHandler,
|
||||
|
||||
bool SetCursorPos(int32_t x, int32_t y);
|
||||
void SetDisplayMode(
|
||||
uint32_t width, uint32_t height, uint32_t refreshMilliHz);
|
||||
uint32_t width, uint32_t height, uint32_t refresh100uHz);
|
||||
void SetGPUStatus(bool software);
|
||||
void ResolutionRejected(uint32_t width, uint32_t height,
|
||||
uint32_t requiredSizeMiB);
|
||||
|
||||
Reference in New Issue
Block a user