glprototypes: fix parameter type of glGenBuffers
authorWang Xin-yu (王昕宇) <comicfans44@gmail.com>
Fri, 29 Jan 2016 02:35:15 +0000 (10:35 +0800)
committerMatthew Waters <matthew@centricular.com>
Fri, 29 Jan 2016 03:31:21 +0000 (14:31 +1100)
The number of buffers should be GLsizei instead of GLuint.

https://bugzilla.gnome.org/show_bug.cgi?id=761272

gst-libs/gst/gl/glprototypes/base.h

index f0528b7b4a1675a7fa1f3ed76a74827eded041e8..8394a387280e1d657dc2af10926902930940bbac 100644 (file)
@@ -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,