From 0f343d32c41efc411fddb1a66a9f11fb68eebf06 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Wed, 25 Dec 2019 21:00:38 -0300 Subject: gl_state: Remove primitive restart tracking --- src/video_core/renderer_opengl/gl_state.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/video_core/renderer_opengl/gl_state.h') diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 958af5771..938222d38 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -37,11 +37,6 @@ public: GLenum test_func = GL_LESS; // GL_DEPTH_FUNC } depth; - struct { - bool enabled = false; - GLuint index = 0; - } primitive_restart; // GL_PRIMITIVE_RESTART - bool rasterizer_discard = false; // GL_RASTERIZER_DISCARD struct ColorMask { @@ -143,7 +138,6 @@ public: void ApplyRasterizerDiscard(); void ApplyColorMask(); void ApplyDepth(); - void ApplyPrimitiveRestart(); void ApplyStencilTest(); void ApplyViewport(); void ApplyTargetBlending(std::size_t target, bool force); -- cgit v1.2.3