diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-03 06:05:23 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-11 00:31:42 +0200 |
commit | 78574746bddb1d62d85ae90707e1f0283af2a5db (patch) | |
tree | 281fa538f3a86d1bb56b5a3887287fa2d4a8883d /src/video_core/engines | |
parent | Merge pull request #2823 from ReinUsesLisp/shr-clamp (diff) | |
download | yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.gz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.bz2 yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.lz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.xz yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.tar.zst yuzu-78574746bddb1d62d85ae90707e1f0283af2a5db.zip |
Diffstat (limited to 'src/video_core/engines')
-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 c8c92757a..965c4c06b 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)) |