diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-15 16:38:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 16:38:10 +0200 |
commit | 393cc3ef2fe6e6b83c7eb30dc4c0a530ffbe8e43 (patch) | |
tree | d54fd00e57e4f117e6b278bf287676bf62aaedb5 /src/video_core/engines/maxwell_3d.cpp | |
parent | Merge pull request #2824 from ReinUsesLisp/mme (diff) | |
parent | renderer_opengl: Fix rebase mistake (diff) | |
download | yuzu-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.cpp | 3 |
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)) |