summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-15 16:38:10 +0200
committerGitHub <noreply@github.com>2019-09-15 16:38:10 +0200
commit393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43 (patch)
treed54fd00e57e4f117e6b278bf287676bf62aaedb5 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #2824 from ReinUsesLisp/mme (diff)
parentrenderer_opengl: Fix rebase mistake (diff)
downloadyuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar.gz
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar.bz2
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar.lz
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar.xz
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.tar.zst
yuzu-393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 5d516cdb3..c7a3c85a0 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -89,6 +89,9 @@ void Maxwell3D::InitializeRegisterDefaults() {
// Commercial games seem to assume this value is enabled and nouveau sets this value manually.
regs.rt_separate_frag_data = 1;
+
+ // Some games (like Super Mario Odyssey) assume that SRGB is enabled.
+ regs.framebuffer_srgb = 1;
}
#define DIRTY_REGS_POS(field_name) (offsetof(Maxwell3D::DirtyRegs, field_name))