summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/utils.h')
-rw-r--r--video/out/opengl/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/utils.h b/video/out/opengl/utils.h
index 35211f6485..ec54d19b8a 100644
--- a/video/out/opengl/utils.h
+++ b/video/out/opengl/utils.h
@@ -184,7 +184,8 @@ uint64_t gl_timer_peak_us(struct gl_timer *timer);
struct gl_pbo_upload {
GL *gl;
- GLuint buffer;
+ int index;
+ GLuint buffers[2];
size_t buffer_size;
};