diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-31 22:16:58 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | a5bfc0d045cada34248d3de493889371d22ade7c (patch) | |
tree | ce208055007860e9500862d22dc341ca5b153c60 /src/video_core/renderer_opengl/utils.h | |
parent | gl_state_tracker: Implement dirty flags for clip control (diff) | |
download | yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar.gz yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar.bz2 yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar.lz yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar.xz yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.tar.zst yuzu-a5bfc0d045cada34248d3de493889371d22ade7c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/utils.h b/src/video_core/renderer_opengl/utils.h index e8612a9ec..47ee3177b 100644 --- a/src/video_core/renderer_opengl/utils.h +++ b/src/video_core/renderer_opengl/utils.h @@ -11,9 +11,11 @@ namespace OpenGL { +class StateTracker; + class VertexArrayPushBuffer final { public: - explicit VertexArrayPushBuffer(); + explicit VertexArrayPushBuffer(StateTracker& state_tracker); ~VertexArrayPushBuffer(); void Setup(); @@ -28,6 +30,8 @@ public: private: struct Entry; + StateTracker& state_tracker; + const GLuint* index_buffer{}; std::vector<Entry> vertex_buffers; }; |