diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-17 23:00:06 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-17 23:29:56 +0200 |
commit | 4be61013a1e26414b37abb35e82b48600c05628b (patch) | |
tree | 1e71017ef9f0ed65c0e009c8351394b448871bdd /src/video_core/renderer_opengl/gl_state.h | |
parent | Maxwell3D: Address Feedback (diff) | |
download | yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar.gz yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar.bz2 yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar.lz yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar.xz yuzu-4be61013a1e26414b37abb35e82b48600c05628b.tar.zst yuzu-4be61013a1e26414b37abb35e82b48600c05628b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 6a85d15b1..fdf9a8a12 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -238,20 +238,20 @@ public: /// Viewport does not affects glClearBuffer so emulate viewport using scissor test void EmulateViewportWithScissor(); - void MarkDirtyBlendState(const bool is_dirty) { - dirty.blend_state = is_dirty; + void MarkDirtyBlendState() { + dirty.blend_state = true; } - void MarkDirtyStencilState(const bool is_dirty) { - dirty.stencil_state = is_dirty; + void MarkDirtyStencilState() { + dirty.stencil_state = true; } - void MarkDirtyPolygonOffset(const bool is_dirty) { - dirty.polygon_offset = is_dirty; + void MarkDirtyPolygonOffset() { + dirty.polygon_offset = true; } - void MarkDirtyColorMask(const bool is_dirty) { - dirty.color_mask = is_dirty; + void MarkDirtyColorMask() { + dirty.color_mask = true; } void AllDirty() { |