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:
@@ -26,7 +26,7 @@ struct FrameMode
|
||||
{
|
||||
uint32_t width = 0;
|
||||
uint32_t height = 0;
|
||||
uint32_t refreshMilliHz = 0;
|
||||
uint32_t refresh100uHz = 0;
|
||||
};
|
||||
|
||||
class FrameCaps
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace
|
||||
const FrameMode& mode, uint64_t& frameSize)
|
||||
{
|
||||
frameSize = 0;
|
||||
if (!mode.width || !mode.height || !mode.refreshMilliHz)
|
||||
if (!mode.width || !mode.height || !mode.refresh100uHz)
|
||||
return false;
|
||||
|
||||
uint64_t pitch;
|
||||
|
||||
Reference in New Issue
Block a user