summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-06 05:53:27 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-06 20:49:24 +0100
commit35c095898bf51098d9b2a71447850f3e1b0fc350 (patch)
tree38775f691f339e341330211185bd9dc0cf766442 /src/video_core/renderer_opengl/gl_state.h
parentgl_state: Drop uniform buffer state tracking (diff)
downloadyuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar.gz
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar.bz2
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar.lz
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar.xz
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.tar.zst
yuzu-35c095898bf51098d9b2a71447850f3e1b0fc350.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r--src/video_core/renderer_opengl/gl_state.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 170dd4047..9dc3f0cc8 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -154,7 +154,6 @@ public:
GLuint read_framebuffer; // GL_READ_FRAMEBUFFER_BINDING
GLuint draw_framebuffer; // GL_DRAW_FRAMEBUFFER_BINDING
GLuint vertex_array; // GL_VERTEX_ARRAY_BINDING
- GLuint vertex_buffer; // GL_ARRAY_BUFFER_BINDING
GLuint shader_program; // GL_CURRENT_PROGRAM
GLuint program_pipeline; // GL_PROGRAM_PIPELINE_BINDING
} draw;
@@ -207,8 +206,6 @@ public:
void Apply() const;
/// Apply only the state afecting the framebuffer
void ApplyFramebufferState() const;
- /// Apply only the state afecting the vertex buffer
- void ApplyVertexBufferState() const;
/// Set the initial OpenGL state
static void ApplyDefaultState();
/// Resets any references to the given resource
@@ -216,7 +213,6 @@ public:
OpenGLState& ResetSampler(GLuint handle);
OpenGLState& ResetProgram(GLuint handle);
OpenGLState& ResetPipeline(GLuint handle);
- OpenGLState& ResetBuffer(GLuint handle);
OpenGLState& ResetVertexArray(GLuint handle);
OpenGLState& ResetFramebuffer(GLuint handle);
void EmulateViewportWithScissor();