summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-08-31 08:07:52 -0500
committerGitHub <noreply@github.com>2024-08-31 15:07:52 +0200
commit838ed87d6ffae0dbdc8a3ecaac2c8be006f6d053 (patch)
treed7d37c307663aef82efa7340378d5763542e74cd /src/helpers/Monitor.hpp
parent76b82fdde7d3f38cb70db0bec3318a7fb6c27a0c (diff)
renderer: minor direct scanout fixes (#7594)
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index 01a5d28d..203cac90 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -100,7 +100,8 @@ class CMonitor {
std::optional<Vector2D> forceSize;
SP<Aquamarine::SOutputMode> currentMode;
SP<Aquamarine::CSwapchain> cursorSwapchain;
- uint32_t drmFormat = DRM_FORMAT_INVALID;
+ uint32_t drmFormat = DRM_FORMAT_INVALID;
+ uint32_t prevDrmFormat = 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.