function params = glGetBufferParameteriv( target, pname )

% glGetBufferParameteriv  Interface to OpenGL function glGetBufferParameteriv
%
% usage:  params = glGetBufferParameteriv( target, pname )
%
% C function:  void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params)

% 25-Mar-2011 -- created (generated automatically from header files)

% ---allocate---
% ---protected---

if nargin~=2,
    error('invalid number of arguments');
end

params = int32([0, 0]);

moglcore( 'glGetBufferParameteriv', target, pname, params );
params = params(1:end-1);
return
