mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 05:12:02 +00:00
[idd] driver/helper: dont allow resolutions that wont fit in ram
This commit is contained in:
@@ -32,7 +32,8 @@ struct LGPipeMsg
|
||||
SETCURSORPOS,
|
||||
SETDISPLAYMODE,
|
||||
GPUSTATUS,
|
||||
RELOADSETTINGS
|
||||
RELOADSETTINGS,
|
||||
RESOLUTIONREJECTED
|
||||
}
|
||||
type;
|
||||
union
|
||||
@@ -57,5 +58,13 @@ struct LGPipeMsg
|
||||
bool software;
|
||||
}
|
||||
gpuStatus;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t requiredSizeMiB;
|
||||
}
|
||||
resolutionRejected;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user