diff options
| author | bunnei <bunneidev@gmail.com> | 2020-01-16 11:21:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-16 11:21:18 -0500 |
| commit | d23869811d49c87c468b81db908d7b1555cbca56 (patch) | |
| tree | 8ddd8be56d739544f4a585027ee265cac314d3f2 /src/video_core/renderer_opengl/utils.h | |
| parent | a43ac8c79e5dae76a5a64f388045f0fa8c16b0cc (diff) | |
| parent | 7af56dfa7645249f9c5d420365ad78b44e43eadd (diff) | |
Merge pull request #3304 from lioncash/fwd-decl
renderer_opengl/utils: Forward declare private structs
Diffstat (limited to 'src/video_core/renderer_opengl/utils.h')
| -rw-r--r-- | src/video_core/renderer_opengl/utils.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/video_core/renderer_opengl/utils.h b/src/video_core/renderer_opengl/utils.h index d56153fe7..3ad7c02d4 100644 --- a/src/video_core/renderer_opengl/utils.h +++ b/src/video_core/renderer_opengl/utils.h @@ -26,12 +26,7 @@ public: void Bind(); private: - struct Entry { - GLuint binding_index{}; - const GLuint* buffer{}; - GLintptr offset{}; - GLsizei stride{}; - }; + struct Entry; GLuint vao{}; const GLuint* index_buffer{}; @@ -50,12 +45,7 @@ public: void Bind(); private: - struct Entry { - GLuint binding; - const GLuint* buffer; - GLintptr offset; - GLsizeiptr size; - }; + struct Entry; GLenum target; std::vector<Entry> entries; |
