summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_state.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-01-09 06:40:19 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-01-09 06:40:19 +0100
commit877a978a221d0418953338fe9644dc2b1d8b7b15 (patch)
treed803100fe974bce85007e9d41a07f0944207bde0 /src/video_core/renderer_opengl/gl_state.h
parentgl_stream_buffer: Use DSA for buffer management (diff)
downloadyuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar.gz
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar.bz2
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar.lz
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar.xz
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.tar.zst
yuzu-877a978a221d0418953338fe9644dc2b1d8b7b15.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, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h
index 9dc3f0cc8..a5a7c0920 100644
--- a/src/video_core/renderer_opengl/gl_state.h
+++ b/src/video_core/renderer_opengl/gl_state.h
@@ -204,8 +204,10 @@ public:
}
/// Apply this state as the current OpenGL state
void Apply() const;
- /// Apply only the state afecting the framebuffer
+ /// Apply only the state affecting the framebuffer
void ApplyFramebufferState() const;
+ /// Apply only the state affecting the vertex array
+ void ApplyVertexArrayState() const;
/// Set the initial OpenGL state
static void ApplyDefaultState();
/// Resets any references to the given resource