renderer/cm: make needsHDRupdate per-monitor state (#12564)

Co-authored-by: drzbida <55928036+drzbida@users.noreply.github.com>
This commit is contained in:
byddha 2025-12-07 22:47:27 +02:00 committed by GitHub
parent 9584b2d40e
commit 916e5d1aea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View file

@ -336,6 +336,7 @@ class CMonitor {
bool m_enabled = false;
bool m_renderingInitPassed = false;
WP<CWindow> m_previousFSWindow;
bool m_needsHDRupdate = false;
NColorManagement::SImageDescription m_imageDescription;
bool m_noShaderCTM = false; // sets drm CTM, restore needed