function gluTessEndPolygon( tess )

% gluTessEndPolygon  Interface to OpenGL function gluTessEndPolygon
%
% usage:  gluTessEndPolygon( tess )
%
% C function:  void gluTessEndPolygon(GLUtesselator* tess)

% 05-Mar-2006 -- created (generated automatically from header files)
% 24-Mar-2011 -- Made 64-bit clean (MK)

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

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

if ~strcmp(class(tess),'double'),
  error([ 'argument ''tess'' must be a pointer coded as type double ' ]);
end

moglcore( 'gluTessEndPolygon', tess );

return
