function params = glGetBufferPointerv( target, pname )

% glGetBufferPointerv  Interface to glGetBufferPointerv
% 
% usage:  params = glGetBufferPointerv( target, pname )
%
% C function:  void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params)

% 02-Jan-2006 -- created (RFM)
% 24-Mar-2011 -- Made 64-bit clean (MK)

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

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

params=uint64([0,0]);
moglcore( 'glGetBufferPointerv', target, pname, params );
params = params(1:end-1);
return
