diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 01:28:17 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 17:00:23 -0300 |
| commit | 7c16b3551b5294d86a7dc8e0721c081bd88547ed (patch) | |
| tree | 481af352889cd5c22166c215d755f93a297869ef /src/video_core/renderer_opengl/gl_state.h | |
| parent | 0914c70b7f9d68e71779fa32c474ed896b225704 (diff) | |
gl_state: Remove scissor test tracking
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 10 |
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; }; |
