summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-17 23:00:06 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-17 23:29:56 +0200
commit4be61013a1e26414b37abb35e82b48600c05628b (patch)
tree1e71017ef9f0ed65c0e009c8351394b448871bdd /src/video_core/renderer_opengl/gl_state.h
parentMaxwell3D: Address Feedback (diff)
downloadyuzu-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 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h16
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() {