Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2023-01-02 09:43:22 +0300
committerJoshua Ashton <joshua@froggi.es>2023-01-02 09:43:22 +0300
commit377caaf0f34948a4a559b2b7b3a63bb00f685fed (patch)
tree030946772c15d339b0b8c865b87fd829f3e2c27c
parentf94b42f23f34cc92c9115764f800292e6d7a2c50 (diff)
[dxgi] Enable HDR colorspacejosh-hdr-test2
-rw-r--r--src/dxgi/dxgi_output.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dxgi/dxgi_output.cpp b/src/dxgi/dxgi_output.cpp
index 1b4db77b..8bd9afca 100644
--- a/src/dxgi/dxgi_output.cpp
+++ b/src/dxgi/dxgi_output.cpp
@@ -232,7 +232,7 @@ namespace dxvk {
// DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020, we should use our monitor
// info to flip this over to that.
// As on Windows this would automatically engage HDR mode.
- pDesc->ColorSpace = DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709;
+ pDesc->ColorSpace = DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020;
pDesc->RedPrimary[0] = m_metadata.redPrimary[0];
pDesc->RedPrimary[1] = m_metadata.redPrimary[1];
pDesc->GreenPrimary[0] = m_metadata.greenPrimary[0];