summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-30 15:56:02 +0000
committerVaxry <vaxry@vaxry.net>2023-10-30 15:56:16 +0000
commit4b592d0819e2f4563d59e6cbb2c3c236ec8f23af (patch)
tree0224cb3f7e1ff4c72c2030d103af35500bc9aed4 /src/helpers/Monitor.hpp
parenta1924ae4356657a06e43e740f1cf2e1634fa958d (diff)
renderer: properly pass 10-bit formats to opengl
Diffstat (limited to 'src/helpers/Monitor.hpp')
-rw-r--r--src/helpers/Monitor.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp
index 71c84273..5e0df858 100644
--- a/src/helpers/Monitor.hpp
+++ b/src/helpers/Monitor.hpp
@@ -65,6 +65,7 @@ class CMonitor {
bool vrrActive = false; // this can be TRUE even if VRR is not active in the case that this display does not support it.
bool enabled10bit = false; // as above, this can be TRUE even if 10 bit failed.
bool createdByUser = false;
+ uint32_t drmFormat = DRM_FORMAT_INVALID;
bool pendingFrame = false; // if we schedule a frame during rendering, reschedule it after
bool renderingActive = false;