parent
92744b5b9a
commit
912e7ba82d
4 changed files with 16 additions and 11 deletions
|
|
@ -946,7 +946,7 @@ bool CMonitorState::updateSwapchain() {
|
|||
Debug::log(WARN, "updateSwapchain: No mode?");
|
||||
return true;
|
||||
}
|
||||
options.format = STATE.drmFormat;
|
||||
options.format = m_pOwner->drmFormat;
|
||||
options.scanout = true;
|
||||
options.length = 2;
|
||||
options.size = MODE->pixelSize;
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ class CMonitor {
|
|||
std::optional<Vector2D> forceSize;
|
||||
SP<Aquamarine::SOutputMode> currentMode;
|
||||
SP<Aquamarine::CSwapchain> cursorSwapchain;
|
||||
uint32_t drmFormat = DRM_FORMAT_INVALID;
|
||||
|
||||
bool dpmsStatus = true;
|
||||
bool vrrActive = false; // this can be TRUE even if VRR is not active in the case that this display does not support it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue