summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-14 21:00:37 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-17 23:29:54 +0200
commit8cdbfe69b1211431536414e375f0fd49222d9a29 (patch)
treedac0320358b55acc6a431c07e38d7da4fb156ec2 /src/video_core/renderer_opengl/gl_state.h
parentMaxwell3D: Correct marking dirtiness on CB upload (diff)
downloadyuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar.gz
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar.bz2
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar.lz
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar.xz
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.tar.zst
yuzu-8cdbfe69b1211431536414e375f0fd49222d9a29.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 3d0f6747f..2860a2c82 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -195,6 +195,7 @@ public:
s_rgb_used = false;
}
+ void DefaultViewports();
/// Apply this state as the current OpenGL state
void Apply();
@@ -245,10 +246,6 @@ public:
dirty.stencil_state = is_dirty;
}
- void MarkDirtyViewportState(const bool is_dirty) {
- dirty.viewport_state = is_dirty;
- }
-
void MarkDirtyPolygonOffset(const bool is_dirty) {
dirty.polygon_offset = is_dirty;
}
@@ -260,7 +257,6 @@ public:
void AllDirty() {
dirty.blend_state = true;
dirty.stencil_state = true;
- dirty.viewport_state = true;
dirty.polygon_offset = true;
dirty.color_mask = true;
}