diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-03 02:31:04 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | 35bb9239cae38a173204cfc36bdfa22aec88fb00 (patch) | |
tree | 9817caf00960bd09fea238fcd7a8be9affaf6cab /src/video_core/renderer_opengl/gl_state_tracker.h | |
parent | gl_rasterizer: Minor sort changes to clearing (diff) | |
download | yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar.gz yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar.bz2 yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar.lz yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar.xz yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.tar.zst yuzu-35bb9239cae38a173204cfc36bdfa22aec88fb00.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state_tracker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state_tracker.h b/src/video_core/renderer_opengl/gl_state_tracker.h index 992b915fb..a390e0b99 100644 --- a/src/video_core/renderer_opengl/gl_state_tracker.h +++ b/src/video_core/renderer_opengl/gl_state_tracker.h @@ -149,6 +149,11 @@ public: flags[OpenGL::Dirty::CullTest] = true; } + void NotifyDepthMask() { + auto& flags = system.GPU().Maxwell3D().dirty.flags; + flags[OpenGL::Dirty::DepthMask] = true; + } + void NotifyDepthTest() { auto& flags = system.GPU().Maxwell3D().dirty.flags; flags[OpenGL::Dirty::DepthTest] = true; |