summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/utils.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-01-15 12:29:58 +0100
committerLioncash <mathew1800@gmail.com>2020-01-15 12:30:01 +0100
commit06d30fbcca92728655dad708be3bdc5a8f7ff54b (patch)
tree8736744cd43ca9f1fb3e513770ace261407a895e /src/video_core/renderer_opengl/utils.h
parentMerge pull request #3287 from ReinUsesLisp/ldg-stg-16 (diff)
downloadyuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar.gz
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar.bz2
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar.lz
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar.xz
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.tar.zst
yuzu-06d30fbcca92728655dad708be3bdc5a8f7ff54b.zip
Diffstat (limited to 'src/video_core/renderer_opengl/utils.h')
-rw-r--r--src/video_core/renderer_opengl/utils.h14
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;