summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-12-26 05:28:17 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-28 21:00:23 +0100
commit7c16b3551b5294d86a7dc8e0721c081bd88547ed (patch)
tree481af352889cd5c22166c215d755f93a297869ef /src/video_core/renderer_opengl/gl_state.h
parentgl_state: Remove color mask tracking (diff)
downloadyuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar.gz
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar.bz2
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar.lz
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar.xz
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.tar.zst
yuzu-7c16b3551b5294d86a7dc8e0721c081bd88547ed.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index ccc302014..44eb35dd5 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -63,13 +63,6 @@ public:
GLint height = 0;
GLfloat depth_range_near = 0.0f; // GL_DEPTH_RANGE
GLfloat depth_range_far = 1.0f; // GL_DEPTH_RANGE
- struct {
- bool enabled = false; // GL_SCISSOR_TEST
- GLint x = 0;
- GLint y = 0;
- GLsizei width = 0;
- GLsizei height = 0;
- } scissor;
};
std::array<Viewport, Tegra::Engines::Maxwell3D::Regs::NumViewports> viewports;
@@ -117,9 +110,6 @@ public:
OpenGLState& ResetFramebuffer(GLuint handle);
OpenGLState& ResetRenderbuffer(GLuint handle);
- /// Viewport does not affects glClearBuffer so emulate viewport using scissor test
- void EmulateViewportWithScissor();
-
private:
static OpenGLState cur_state;
};