summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Xin-yu (王昕宇) <comicfans44@gmail.com>2016-01-29 10:35:15 +0800
committerMatthew Waters <matthew@centricular.com>2016-01-29 14:33:59 +1100
commit6fef5095b07de95969089be57bf365d8daac409e (patch)
tree2774683a7e165b6b9480a49db7f67099998abf04
parenta23e3b9c9e160a0bbf01bf45eb74d814ff3538e4 (diff)
downloadgstreamer-plugins-bad-6fef5095b07de95969089be57bf365d8daac409e.tar.gz
glprototypes: fix parameter type of glGenBuffers
The number of buffers should be GLsizei instead of GLuint. https://bugzilla.gnome.org/show_bug.cgi?id=761272
-rw-r--r--gst-libs/gst/gl/glprototypes/base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/glprototypes/base.h b/gst-libs/gst/gl/glprototypes/base.h
index f0528b7b4..8394a3872 100644
--- a/gst-libs/gst/gl/glprototypes/base.h
+++ b/gst-libs/gst/gl/glprototypes/base.h
@@ -255,7 +255,7 @@ GST_GL_EXT_BEGIN (vbos,
"ARB\0",
"vertex_buffer_object\0")
GST_GL_EXT_FUNCTION (void, GenBuffers,
- (GLuint n,
+ (GLsizei n,
GLuint *buffers))
GST_GL_EXT_FUNCTION (void, BindBuffer,
(GLenum target,