aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-11 19:58:16 -0800
committerGitHub <noreply@github.com>2018-11-11 19:58:16 -0800
commit2c6efda2352a1133a1091d2aa206b1f044b7642a (patch)
tree2a1bbae2d93fb2a52f0ff3f7802919cef8b4d6d3 /src/video_core/renderer_opengl/gl_state.h
parent7474382266ef62324dfccc3bb35d866073f90240 (diff)
parent72b1fae98480b781a17524e65b0be6e3d6151b4a (diff)
Merge pull request #1660 from Tinob/master
Map more missing opengl states
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, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index b8cf1f637..eacca0b9c 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -181,6 +181,10 @@ public:
}
/// Apply this state as the current OpenGL state
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