diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-14 21:00:37 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-17 23:29:54 +0200 |
commit | 8cdbfe69b1211431536414e375f0fd49222d9a29 (patch) | |
tree | dac0320358b55acc6a431c07e38d7da4fb156ec2 /src/video_core/renderer_opengl/gl_state.h | |
parent | Maxwell3D: Correct marking dirtiness on CB upload (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 6 |
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; } |