/*
 * This file was generated automatically by ExtUtils::ParseXS version 3.24 from the
 * contents of pogl_gl_Ver3_Tex1.xs. Do not edit this file, edit pogl_gl_Ver3_Tex1.xs instead.
 *
 *    ANY CHANGES MADE HERE WILL BE LOST!
 *
 */

#line 1 "pogl_gl_Ver3_Tex1.xs"
/*  Last saved: Sun 06 Sep 2009 02:10:11 PM */

/*  Copyright (c) 1998 Kenneth Albanowski. All rights reserved.
 *  Copyright (c) 2007 Bob Free. All rights reserved.
 *  Copyright (c) 2009 Chris Marshall. All rights reserved.
 *  This program is free software; you can redistribute it and/or
 *  modify it under the same terms as Perl itself.
 */

/* OpenGL GLX bindings */
#define IN_POGL_GLX_XS

#include <stdio.h>

#include "pgopogl.h"

#ifdef HAVE_GL
#include "gl_util.h"

/* Note: this is caching procs once for all contexts */
/* !!! This should instead cache per context */
#if defined(_WIN32) || (defined(__CYGWIN__) && defined(HAVE_W32API))
#define loadProc(proc,name) \
{ \
  if (!proc) \
  { \
    proc = (void *)wglGetProcAddress(name); \
    if (!proc) croak(name " is not supported by this renderer"); \
  } \
}
#define testProc(proc,name) ((proc) ? 1 : !!(proc = (void *)wglGetProcAddress(name)))
#else /* not using WGL */
#define loadProc(proc,name)
#define testProc(proc,name) 1
#endif /* not defined _WIN32, __CYGWIN__, and HAVE_W32API */
#endif /* defined HAVE_GL */

#ifdef HAVE_GLX
#include "glx_util.h"
#endif /* defined HAVE_GLX */

#ifdef HAVE_GLU
#include "glu_util.h"
#endif /* defined HAVE_GLU */





#line 60 "pogl_gl_Ver3_Tex1.c"
#ifndef PERL_UNUSED_VAR
#  define PERL_UNUSED_VAR(var) if (0) var = var
#endif

#ifndef dVAR
#  define dVAR		dNOOP
#endif


/* This stuff is not part of the API! You have been warned. */
#ifndef PERL_VERSION_DECIMAL
#  define PERL_VERSION_DECIMAL(r,v,s) (r*1000000 + v*1000 + s)
#endif
#ifndef PERL_DECIMAL_VERSION
#  define PERL_DECIMAL_VERSION \
	  PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
#endif
#ifndef PERL_VERSION_GE
#  define PERL_VERSION_GE(r,v,s) \
	  (PERL_DECIMAL_VERSION >= PERL_VERSION_DECIMAL(r,v,s))
#endif
#ifndef PERL_VERSION_LE
#  define PERL_VERSION_LE(r,v,s) \
	  (PERL_DECIMAL_VERSION <= PERL_VERSION_DECIMAL(r,v,s))
#endif

/* XS_INTERNAL is the explicit static-linkage variant of the default
 * XS macro.
 *
 * XS_EXTERNAL is the same as XS_INTERNAL except it does not include
 * "STATIC", ie. it exports XSUB symbols. You probably don't want that
 * for anything but the BOOT XSUB.
 *
 * See XSUB.h in core!
 */


/* TODO: This might be compatible further back than 5.10.0. */
#if PERL_VERSION_GE(5, 10, 0) && PERL_VERSION_LE(5, 15, 1)
#  undef XS_EXTERNAL
#  undef XS_INTERNAL
#  if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
#    define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
#    define XS_INTERNAL(name) STATIC XSPROTO(name)
#  endif
#  if defined(__SYMBIAN32__)
#    define XS_EXTERNAL(name) EXPORT_C XSPROTO(name)
#    define XS_INTERNAL(name) EXPORT_C STATIC XSPROTO(name)
#  endif
#  ifndef XS_EXTERNAL
#    if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
#      define XS_EXTERNAL(name) void name(pTHX_ CV* cv __attribute__unused__)
#      define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
#    else
#      ifdef __cplusplus
#        define XS_EXTERNAL(name) extern "C" XSPROTO(name)
#        define XS_INTERNAL(name) static XSPROTO(name)
#      else
#        define XS_EXTERNAL(name) XSPROTO(name)
#        define XS_INTERNAL(name) STATIC XSPROTO(name)
#      endif
#    endif
#  endif
#endif

/* perl >= 5.10.0 && perl <= 5.15.1 */


/* The XS_EXTERNAL macro is used for functions that must not be static
 * like the boot XSUB of a module. If perl didn't have an XS_EXTERNAL
 * macro defined, the best we can do is assume XS is the same.
 * Dito for XS_INTERNAL.
 */
#ifndef XS_EXTERNAL
#  define XS_EXTERNAL(name) XS(name)
#endif
#ifndef XS_INTERNAL
#  define XS_INTERNAL(name) XS(name)
#endif

/* Now, finally, after all this mess, we want an ExtUtils::ParseXS
 * internal macro that we're free to redefine for varying linkage due
 * to the EXPORT_XSUB_SYMBOLS XS keyword. This is internal, use
 * XS_EXTERNAL(name) or XS_INTERNAL(name) in your code if you need to!
 */

#undef XS_EUPXS
#if defined(PERL_EUPXS_ALWAYS_EXPORT)
#  define XS_EUPXS(name) XS_EXTERNAL(name)
#else
   /* default to internal */
#  define XS_EUPXS(name) XS_INTERNAL(name)
#endif

#ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
#define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)

/* prototype to pass -Wmissing-prototypes */
STATIC void
S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);

STATIC void
S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
{
    const GV *const gv = CvGV(cv);

    PERL_ARGS_ASSERT_CROAK_XS_USAGE;

    if (gv) {
        const char *const gvname = GvNAME(gv);
        const HV *const stash = GvSTASH(gv);
        const char *const hvname = stash ? HvNAME(stash) : NULL;

        if (hvname)
            Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
        else
            Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
    } else {
        /* Pants. I don't think that it should be possible to get here. */
        Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
    }
}
#undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE

#ifdef PERL_IMPLICIT_CONTEXT
#define croak_xs_usage(a,b)    S_croak_xs_usage(aTHX_ a,b)
#else
#define croak_xs_usage        S_croak_xs_usage
#endif

#endif

/* NOTE: the prototype of newXSproto() is different in versions of perls,
 * so we define a portable version of newXSproto()
 */
#ifdef newXS_flags
#define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
#else
#define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
#endif /* !defined(newXS_flags) */

#line 202 "pogl_gl_Ver3_Tex1.c"
#ifdef HAVE_GL
#define XSubPPtmpAAAA 1


XS_EUPXS(XS_OpenGL_glVertex3d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3d)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLdouble	x = (double)SvNV(ST(0))
;
	GLdouble	y = (double)SvNV(ST(1))
;
	GLdouble	z = (double)SvNV(ST(2))
;

	glVertex3d(x, y, z);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 70 "pogl_gl_Ver3_Tex1.xs"
	glVertex3dv(v);
#line 238 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 77 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*3);
		glVertex3dv(v_s);
	}
#line 258 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3dv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLdouble	x = (double)SvNV(ST(0))
;
	GLdouble	y = (double)SvNV(ST(1))
;
	GLdouble	z = (double)SvNV(ST(2))
;
#line 90 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[3];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		glVertex3dv(param);
	}
#line 285 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3f)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLfloat	x = (float)SvNV(ST(0))
;
	GLfloat	y = (float)SvNV(ST(1))
;
	GLfloat	z = (float)SvNV(ST(2))
;

	glVertex3f(x, y, z);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 110 "pogl_gl_Ver3_Tex1.xs"
	glVertex3fv(v);
#line 322 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 117 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*3);
		glVertex3fv(v_s);
	}
#line 342 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3fv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLfloat	x = (float)SvNV(ST(0))
;
	GLfloat	y = (float)SvNV(ST(1))
;
	GLfloat	z = (float)SvNV(ST(2))
;
#line 130 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[3];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		glVertex3fv(param);
	}
#line 369 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3i)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLint	x = (int)SvIV(ST(0))
;
	GLint	y = (int)SvIV(ST(1))
;
	GLint	z = (int)SvIV(ST(2))
;

	glVertex3i(x, y, z);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 150 "pogl_gl_Ver3_Tex1.xs"
	glVertex3iv(v);
#line 406 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 157 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*3);
		glVertex3iv(v_s);
	}
#line 426 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3iv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLint	x = (int)SvIV(ST(0))
;
	GLint	y = (int)SvIV(ST(1))
;
	GLint	z = (int)SvIV(ST(2))
;
#line 170 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[3];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		glVertex3iv(param);
	}
#line 453 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3s)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLshort	x = (short)SvIV(ST(0))
;
	GLshort	y = (short)SvIV(ST(1))
;
	GLshort	z = (short)SvIV(ST(2))
;

	glVertex3s(x, y, z);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 190 "pogl_gl_Ver3_Tex1.xs"
	glVertex3sv(v);
#line 490 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 197 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*3);
		glVertex3sv(v_s);
	}
#line 510 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex3sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex3sv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "x, y, z");
    {
	GLshort	x = (short)SvIV(ST(0))
;
	GLshort	y = (short)SvIV(ST(1))
;
	GLshort	z = (short)SvIV(ST(2))
;
#line 210 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[3];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		glVertex3sv(param);
	}
#line 537 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4d)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLdouble	x = (double)SvNV(ST(0))
;
	GLdouble	y = (double)SvNV(ST(1))
;
	GLdouble	z = (double)SvNV(ST(2))
;
	GLdouble	w = (double)SvNV(ST(3))
;

	glVertex4d(x, y, z, w);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 231 "pogl_gl_Ver3_Tex1.xs"
	glVertex4dv(v);
#line 576 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 238 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*4);
		glVertex4dv(v_s);
	}
#line 596 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4dv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLdouble	x = (double)SvNV(ST(0))
;
	GLdouble	y = (double)SvNV(ST(1))
;
	GLdouble	z = (double)SvNV(ST(2))
;
	GLdouble	w = (double)SvNV(ST(3))
;
#line 252 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[4];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		param[3] = w;
		glVertex4dv(param);
	}
#line 626 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4f)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLfloat	x = (float)SvNV(ST(0))
;
	GLfloat	y = (float)SvNV(ST(1))
;
	GLfloat	z = (float)SvNV(ST(2))
;
	GLfloat	w = (float)SvNV(ST(3))
;

	glVertex4f(x, y, z, w);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 274 "pogl_gl_Ver3_Tex1.xs"
	glVertex4fv(v);
#line 665 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 281 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*4);
		glVertex4fv(v_s);
	}
#line 685 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4fv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLfloat	x = (float)SvNV(ST(0))
;
	GLfloat	y = (float)SvNV(ST(1))
;
	GLfloat	z = (float)SvNV(ST(2))
;
	GLfloat	w = (float)SvNV(ST(3))
;
#line 295 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[4];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		param[3] = w;
		glVertex4fv(param);
	}
#line 715 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4i)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLint	x = (int)SvIV(ST(0))
;
	GLint	y = (int)SvIV(ST(1))
;
	GLint	z = (int)SvIV(ST(2))
;
	GLint	w = (int)SvIV(ST(3))
;

	glVertex4i(x, y, z, w);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 317 "pogl_gl_Ver3_Tex1.xs"
	glVertex4iv(v);
#line 754 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 324 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*4);
		glVertex4iv(v_s);
	}
#line 774 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4iv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLint	x = (int)SvIV(ST(0))
;
	GLint	y = (int)SvIV(ST(1))
;
	GLint	z = (int)SvIV(ST(2))
;
	GLint	w = (int)SvIV(ST(3))
;
#line 338 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[4];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		param[3] = w;
		glVertex4iv(param);
	}
#line 804 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4s)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLshort	x = (short)SvIV(ST(0))
;
	GLshort	y = (short)SvIV(ST(1))
;
	GLshort	z = (short)SvIV(ST(2))
;
	GLshort	w = (short)SvIV(ST(3))
;

	glVertex4s(x, y, z, w);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 360 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*4);
		glVertex4sv(v_s);
	}
#line 846 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 370 "pogl_gl_Ver3_Tex1.xs"
	glVertex4sv(v);
#line 863 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glVertex4sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glVertex4sv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "x, y, z, w");
    {
	GLshort	x = (short)SvIV(ST(0))
;
	GLshort	y = (short)SvIV(ST(1))
;
	GLshort	z = (short)SvIV(ST(2))
;
	GLshort	w = (short)SvIV(ST(3))
;
#line 381 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[4];
		param[0] = x;
		param[1] = y;
		param[2] = z;
		param[3] = w;
		glVertex4sv(param);
	}
#line 893 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3b); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3b)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLbyte	nx = (int)SvIV(ST(0))
;
	GLbyte	ny = (int)SvIV(ST(1))
;
	GLbyte	nz = (int)SvIV(ST(2))
;

	glNormal3b(nx, ny, nz);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3bv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3bv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 402 "pogl_gl_Ver3_Tex1.xs"
	glNormal3bv(v);
#line 930 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3bv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3bv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 409 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte * v_s = EL(v, sizeof(GLbyte)*3);
		glNormal3bv(v_s);
	}
#line 950 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3bv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3bv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLbyte	nx = (int)SvIV(ST(0))
;
	GLbyte	ny = (int)SvIV(ST(1))
;
	GLbyte	nz = (int)SvIV(ST(2))
;
#line 422 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte param[3];
		param[0] = nx;
		param[1] = ny;
		param[2] = nz;
		glNormal3bv(param);
	}
#line 977 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3d)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLdouble	nx = (double)SvNV(ST(0))
;
	GLdouble	ny = (double)SvNV(ST(1))
;
	GLdouble	nz = (double)SvNV(ST(2))
;

	glNormal3d(nx, ny, nz);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 442 "pogl_gl_Ver3_Tex1.xs"
	glNormal3dv(v);
#line 1014 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 449 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*3);
		glNormal3dv(v_s);
	}
#line 1034 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3dv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLdouble	nx = (double)SvNV(ST(0))
;
	GLdouble	ny = (double)SvNV(ST(1))
;
	GLdouble	nz = (double)SvNV(ST(2))
;
#line 462 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[3];
		param[0] = nx;
		param[1] = ny;
		param[2] = nz;
		glNormal3dv(param);
	}
#line 1061 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3f)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLfloat	nx = (float)SvNV(ST(0))
;
	GLfloat	ny = (float)SvNV(ST(1))
;
	GLfloat	nz = (float)SvNV(ST(2))
;

	glNormal3f(nx, ny, nz);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 482 "pogl_gl_Ver3_Tex1.xs"
	glNormal3fv(v);
#line 1098 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 489 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*3);
		glNormal3fv(v_s);
	}
#line 1118 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3fv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLfloat	nx = (float)SvNV(ST(0))
;
	GLfloat	ny = (float)SvNV(ST(1))
;
	GLfloat	nz = (float)SvNV(ST(2))
;
#line 502 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[3];
		param[0] = nx;
		param[1] = ny;
		param[2] = nz;
		glNormal3fv(param);
	}
#line 1145 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3i)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLint	nx = (int)SvIV(ST(0))
;
	GLint	ny = (int)SvIV(ST(1))
;
	GLint	nz = (int)SvIV(ST(2))
;

	glNormal3i(nx, ny, nz);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 522 "pogl_gl_Ver3_Tex1.xs"
	glNormal3iv(v);
#line 1182 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 529 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*3);
		glNormal3iv(v_s);
	}
#line 1202 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3iv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLint	nx = (int)SvIV(ST(0))
;
	GLint	ny = (int)SvIV(ST(1))
;
	GLint	nz = (int)SvIV(ST(2))
;
#line 542 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[3];
		param[0] = nx;
		param[1] = ny;
		param[2] = nz;
		glNormal3iv(param);
	}
#line 1229 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3s)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLshort	nx = (short)SvIV(ST(0))
;
	GLshort	ny = (short)SvIV(ST(1))
;
	GLshort	nz = (short)SvIV(ST(2))
;

	glNormal3s(nx, ny, nz);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 562 "pogl_gl_Ver3_Tex1.xs"
	glNormal3sv(v);
#line 1266 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 569 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*3);
		glNormal3sv(v_s);
	}
#line 1286 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glNormal3sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glNormal3sv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "nx, ny, nz");
    {
	GLshort	nx = (short)SvIV(ST(0))
;
	GLshort	ny = (short)SvIV(ST(1))
;
	GLshort	nz = (short)SvIV(ST(2))
;
#line 582 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[3];
		param[0] = nx;
		param[1] = ny;
		param[2] = nz;
		glNormal3sv(param);
	}
#line 1313 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3b); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3b)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLbyte	red = (int)SvIV(ST(0))
;
	GLbyte	green = (int)SvIV(ST(1))
;
	GLbyte	blue = (int)SvIV(ST(2))
;

	glColor3b(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3bv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3bv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 602 "pogl_gl_Ver3_Tex1.xs"
	glColor3bv(v);
#line 1350 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3bv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3bv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 609 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte * v_s = EL(v, sizeof(GLbyte)*3);
		glColor3bv(v_s);
	}
#line 1370 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3bv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3bv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLbyte	red = (int)SvIV(ST(0))
;
	GLbyte	green = (int)SvIV(ST(1))
;
	GLbyte	blue = (int)SvIV(ST(2))
;
#line 622 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3bv(param);
	}
#line 1397 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3d)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLdouble	red = (double)SvNV(ST(0))
;
	GLdouble	green = (double)SvNV(ST(1))
;
	GLdouble	blue = (double)SvNV(ST(2))
;

	glColor3d(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 642 "pogl_gl_Ver3_Tex1.xs"
	glColor3dv(v);
#line 1434 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 649 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*3);
		glColor3dv(v_s);
	}
#line 1454 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3dv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLdouble	red = (double)SvNV(ST(0))
;
	GLdouble	green = (double)SvNV(ST(1))
;
	GLdouble	blue = (double)SvNV(ST(2))
;
#line 662 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3dv(param);
	}
#line 1481 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3f)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLfloat	red = (float)SvNV(ST(0))
;
	GLfloat	green = (float)SvNV(ST(1))
;
	GLfloat	blue = (float)SvNV(ST(2))
;

	glColor3f(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 682 "pogl_gl_Ver3_Tex1.xs"
	glColor3fv(v);
#line 1518 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 689 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*3);
		glColor3fv(v_s);
	}
#line 1538 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3fv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLfloat	red = (float)SvNV(ST(0))
;
	GLfloat	green = (float)SvNV(ST(1))
;
	GLfloat	blue = (float)SvNV(ST(2))
;
#line 702 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3fv(param);
	}
#line 1565 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3i)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLint	red = (int)SvIV(ST(0))
;
	GLint	green = (int)SvIV(ST(1))
;
	GLint	blue = (int)SvIV(ST(2))
;

	glColor3i(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 722 "pogl_gl_Ver3_Tex1.xs"
	glColor3iv(v);
#line 1602 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 729 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*3);
		glColor3iv(v_s);
	}
#line 1622 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3iv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLint	red = (int)SvIV(ST(0))
;
	GLint	green = (int)SvIV(ST(1))
;
	GLint	blue = (int)SvIV(ST(2))
;
#line 742 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3iv(param);
	}
#line 1649 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3s)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLshort	red = (short)SvIV(ST(0))
;
	GLshort	green = (short)SvIV(ST(1))
;
	GLshort	blue = (short)SvIV(ST(2))
;

	glColor3s(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 762 "pogl_gl_Ver3_Tex1.xs"
	glColor3sv(v);
#line 1686 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 769 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*3);
		glColor3sv(v_s);
	}
#line 1706 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3sv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLshort	red = (short)SvIV(ST(0))
;
	GLshort	green = (short)SvIV(ST(1))
;
	GLshort	blue = (short)SvIV(ST(2))
;
#line 782 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3sv(param);
	}
#line 1733 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3ub); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3ub)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLubyte	red = (unsigned int)SvUV(ST(0))
;
	GLubyte	green = (unsigned int)SvUV(ST(1))
;
	GLubyte	blue = (unsigned int)SvUV(ST(2))
;

	glColor3ub(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3ubv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3ubv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 802 "pogl_gl_Ver3_Tex1.xs"
	glColor3ubv(v);
#line 1770 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3ubv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3ubv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 809 "pogl_gl_Ver3_Tex1.xs"
	{
		GLubyte * v_s = EL(v, sizeof(GLubyte)*3);
		glColor3ubv(v_s);
	}
#line 1790 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3ubv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3ubv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLubyte	red = (unsigned int)SvUV(ST(0))
;
	GLubyte	green = (unsigned int)SvUV(ST(1))
;
	GLubyte	blue = (unsigned int)SvUV(ST(2))
;
#line 822 "pogl_gl_Ver3_Tex1.xs"
	{
		GLubyte param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3ubv(param);
	}
#line 1817 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3ui); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3ui)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLuint	red = (unsigned int)SvUV(ST(0))
;
	GLuint	green = (unsigned int)SvUV(ST(1))
;
	GLuint	blue = (unsigned int)SvUV(ST(2))
;

	glColor3ui(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3uiv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3uiv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 842 "pogl_gl_Ver3_Tex1.xs"
	glColor3uiv(v);
#line 1854 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3uiv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3uiv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 849 "pogl_gl_Ver3_Tex1.xs"
	{
		GLuint * v_s = EL(v, sizeof(GLuint)*3);
		glColor3uiv(v_s);
	}
#line 1874 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3uiv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3uiv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLuint	red = (unsigned int)SvUV(ST(0))
;
	GLuint	green = (unsigned int)SvUV(ST(1))
;
	GLuint	blue = (unsigned int)SvUV(ST(2))
;
#line 862 "pogl_gl_Ver3_Tex1.xs"
	{
		GLuint param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3uiv(param);
	}
#line 1901 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3us); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3us)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLushort	red = (unsigned short)SvUV(ST(0))
;
	GLushort	green = (unsigned short)SvUV(ST(1))
;
	GLushort	blue = (unsigned short)SvUV(ST(2))
;

	glColor3us(red, green, blue);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3usv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3usv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 882 "pogl_gl_Ver3_Tex1.xs"
	glColor3usv(v);
#line 1938 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3usv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3usv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 889 "pogl_gl_Ver3_Tex1.xs"
	{
		GLushort * v_s = EL(v, sizeof(GLushort)*3);
		glColor3usv(v_s);
	}
#line 1958 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor3usv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor3usv_p)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "red, green, blue");
    {
	GLushort	red = (unsigned short)SvUV(ST(0))
;
	GLushort	green = (unsigned short)SvUV(ST(1))
;
	GLushort	blue = (unsigned short)SvUV(ST(2))
;
#line 902 "pogl_gl_Ver3_Tex1.xs"
	{
		GLushort param[3];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		glColor3usv(param);
	}
#line 1985 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4b); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4b)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLbyte	red = (int)SvIV(ST(0))
;
	GLbyte	green = (int)SvIV(ST(1))
;
	GLbyte	blue = (int)SvIV(ST(2))
;
	GLbyte	alpha = (int)SvIV(ST(3))
;

	glColor4b(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4bv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4bv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 923 "pogl_gl_Ver3_Tex1.xs"
	glColor4bv(v);
#line 2024 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4bv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4bv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 930 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte * v_s = EL(v, sizeof(GLbyte)*4);
		glColor4bv(v_s);
	}
#line 2044 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4bv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4bv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLbyte	red = (int)SvIV(ST(0))
;
	GLbyte	green = (int)SvIV(ST(1))
;
	GLbyte	blue = (int)SvIV(ST(2))
;
	GLbyte	alpha = (int)SvIV(ST(3))
;
#line 944 "pogl_gl_Ver3_Tex1.xs"
	{
		GLbyte param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4bv(param);
	}
#line 2074 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4d)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLdouble	red = (double)SvNV(ST(0))
;
	GLdouble	green = (double)SvNV(ST(1))
;
	GLdouble	blue = (double)SvNV(ST(2))
;
	GLdouble	alpha = (double)SvNV(ST(3))
;

	glColor4d(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 966 "pogl_gl_Ver3_Tex1.xs"
	glColor4dv(v);
#line 2113 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 973 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*4);
		glColor4dv(v_s);
	}
#line 2133 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4dv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLdouble	red = (double)SvNV(ST(0))
;
	GLdouble	green = (double)SvNV(ST(1))
;
	GLdouble	blue = (double)SvNV(ST(2))
;
	GLdouble	alpha = (double)SvNV(ST(3))
;
#line 987 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4dv(param);
	}
#line 2163 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4f)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLfloat	red = (float)SvNV(ST(0))
;
	GLfloat	green = (float)SvNV(ST(1))
;
	GLfloat	blue = (float)SvNV(ST(2))
;
	GLfloat	alpha = (float)SvNV(ST(3))
;

	glColor4f(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1009 "pogl_gl_Ver3_Tex1.xs"
	glColor4fv(v);
#line 2202 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1016 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*4);
		glColor4fv(v_s);
	}
#line 2222 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4fv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLfloat	red = (float)SvNV(ST(0))
;
	GLfloat	green = (float)SvNV(ST(1))
;
	GLfloat	blue = (float)SvNV(ST(2))
;
	GLfloat	alpha = (float)SvNV(ST(3))
;
#line 1030 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4fv(param);
	}
#line 2252 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4i)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLint	red = (int)SvIV(ST(0))
;
	GLint	green = (int)SvIV(ST(1))
;
	GLint	blue = (int)SvIV(ST(2))
;
	GLint	alpha = (int)SvIV(ST(3))
;

	glColor4i(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1052 "pogl_gl_Ver3_Tex1.xs"
	glColor4iv(v);
#line 2291 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1059 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*4);
		glColor4iv(v_s);
	}
#line 2311 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4iv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLint	red = (int)SvIV(ST(0))
;
	GLint	green = (int)SvIV(ST(1))
;
	GLint	blue = (int)SvIV(ST(2))
;
	GLint	alpha = (int)SvIV(ST(3))
;
#line 1073 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4iv(param);
	}
#line 2341 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4s)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLshort	red = (short)SvIV(ST(0))
;
	GLshort	green = (short)SvIV(ST(1))
;
	GLshort	blue = (short)SvIV(ST(2))
;
	GLshort	alpha = (short)SvIV(ST(3))
;

	glColor4s(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1095 "pogl_gl_Ver3_Tex1.xs"
	glColor4sv(v);
#line 2380 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1102 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*4);
		glColor4sv(v_s);
	}
#line 2400 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4sv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLshort	red = (short)SvIV(ST(0))
;
	GLshort	green = (short)SvIV(ST(1))
;
	GLshort	blue = (short)SvIV(ST(2))
;
	GLshort	alpha = (short)SvIV(ST(3))
;
#line 1116 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4sv(param);
	}
#line 2430 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4ub); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4ub)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLubyte	red = (unsigned int)SvUV(ST(0))
;
	GLubyte	green = (unsigned int)SvUV(ST(1))
;
	GLubyte	blue = (unsigned int)SvUV(ST(2))
;
	GLubyte	alpha = (unsigned int)SvUV(ST(3))
;

	glColor4ub(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4ubv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4ubv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1138 "pogl_gl_Ver3_Tex1.xs"
	glColor4ubv(v);
#line 2469 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4ubv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4ubv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1145 "pogl_gl_Ver3_Tex1.xs"
	{
		GLubyte * v_s = EL(v, sizeof(GLubyte)*4);
		glColor4ubv(v_s);
	}
#line 2489 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4ubv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4ubv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLubyte	red = (unsigned int)SvUV(ST(0))
;
	GLubyte	green = (unsigned int)SvUV(ST(1))
;
	GLubyte	blue = (unsigned int)SvUV(ST(2))
;
	GLubyte	alpha = (unsigned int)SvUV(ST(3))
;
#line 1159 "pogl_gl_Ver3_Tex1.xs"
	{
		GLubyte param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4ubv(param);
	}
#line 2519 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4ui); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4ui)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLuint	red = (unsigned int)SvUV(ST(0))
;
	GLuint	green = (unsigned int)SvUV(ST(1))
;
	GLuint	blue = (unsigned int)SvUV(ST(2))
;
	GLuint	alpha = (unsigned int)SvUV(ST(3))
;

	glColor4ui(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4uiv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4uiv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1181 "pogl_gl_Ver3_Tex1.xs"
	{
		GLuint * v_s = EL(v, sizeof(GLuint)*4);
		glColor4uiv(v_s);
	}
#line 2561 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4uiv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4uiv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1191 "pogl_gl_Ver3_Tex1.xs"
	glColor4uiv(v);
#line 2578 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4uiv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4uiv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLuint	red = (unsigned int)SvUV(ST(0))
;
	GLuint	green = (unsigned int)SvUV(ST(1))
;
	GLuint	blue = (unsigned int)SvUV(ST(2))
;
	GLuint	alpha = (unsigned int)SvUV(ST(3))
;
#line 1202 "pogl_gl_Ver3_Tex1.xs"
	{
		GLuint param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4uiv(param);
	}
#line 2608 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4us); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4us)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLushort	red = (unsigned short)SvUV(ST(0))
;
	GLushort	green = (unsigned short)SvUV(ST(1))
;
	GLushort	blue = (unsigned short)SvUV(ST(2))
;
	GLushort	alpha = (unsigned short)SvUV(ST(3))
;

	glColor4us(red, green, blue, alpha);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4usv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4usv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1224 "pogl_gl_Ver3_Tex1.xs"
	glColor4usv(v);
#line 2647 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4usv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4usv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1231 "pogl_gl_Ver3_Tex1.xs"
	{
		GLushort * v_s = EL(v, sizeof(GLushort)*4);
		glColor4usv(v_s);
	}
#line 2667 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glColor4usv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glColor4usv_p)
{
    dVAR; dXSARGS;
    if (items != 4)
       croak_xs_usage(cv,  "red, green, blue, alpha");
    {
	GLushort	red = (unsigned short)SvUV(ST(0))
;
	GLushort	green = (unsigned short)SvUV(ST(1))
;
	GLushort	blue = (unsigned short)SvUV(ST(2))
;
	GLushort	alpha = (unsigned short)SvUV(ST(3))
;
#line 1245 "pogl_gl_Ver3_Tex1.xs"
	{
		GLushort param[4];
		param[0] = red;
		param[1] = green;
		param[2] = blue;
		param[3] = alpha;
		glColor4usv(param);
	}
#line 2697 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1d); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1d)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLdouble	s = (double)SvNV(ST(0))
;

	glTexCoord1d(s);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1dv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1dv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1264 "pogl_gl_Ver3_Tex1.xs"
	glTexCoord1dv(v);
#line 2730 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1dv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1dv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1271 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble * v_s = EL(v, sizeof(GLdouble)*1);
		glTexCoord1dv(v_s);
	}
#line 2750 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1dv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1dv_p)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLdouble	s = (double)SvNV(ST(0))
;
#line 1282 "pogl_gl_Ver3_Tex1.xs"
	{
		GLdouble param[1];
		param[0] = s;
		glTexCoord1dv(param);
	}
#line 2771 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1f); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1f)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLfloat	s = (float)SvNV(ST(0))
;

	glTexCoord1f(s);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1fv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1fv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1298 "pogl_gl_Ver3_Tex1.xs"
	glTexCoord1fv(v);
#line 2804 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1fv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1fv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1305 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat * v_s = EL(v, sizeof(GLfloat)*1);
		glTexCoord1fv(v_s);
	}
#line 2824 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1fv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1fv_p)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLfloat	s = (float)SvNV(ST(0))
;
#line 1316 "pogl_gl_Ver3_Tex1.xs"
	{
		GLfloat param[1];
		param[0] = s;
		glTexCoord1fv(param);
	}
#line 2845 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1i); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1i)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLint	s = (int)SvIV(ST(0))
;

	glTexCoord1i(s);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1iv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1iv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1332 "pogl_gl_Ver3_Tex1.xs"
	glTexCoord1iv(v);
#line 2878 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1iv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1iv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1339 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint * v_s = EL(v, sizeof(GLint)*1);
		glTexCoord1iv(v_s);
	}
#line 2898 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1iv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1iv_p)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLint	s = (int)SvIV(ST(0))
;
#line 1350 "pogl_gl_Ver3_Tex1.xs"
	{
		GLint param[1];
		param[0] = s;
		glTexCoord1iv(param);
	}
#line 2919 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLshort	s = (short)SvIV(ST(0))
;

	glTexCoord1s(s);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1sv_c); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1sv_c)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	void *	v = INT2PTR(void *,SvIV(ST(0)))
;
#line 1366 "pogl_gl_Ver3_Tex1.xs"
	glTexCoord1sv(v);
#line 2952 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1sv_s); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1sv_s)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "v");
    {
	SV *	v = ST(0)
;
#line 1373 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort * v_s = EL(v, sizeof(GLshort)*1);
		glTexCoord1sv(v_s);
	}
#line 2972 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_OpenGL_glTexCoord1sv_p); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_OpenGL_glTexCoord1sv_p)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "s");
    {
	GLshort	s = (short)SvIV(ST(0))
;
#line 1384 "pogl_gl_Ver3_Tex1.xs"
	{
		GLshort param[1];
		param[0] = s;
		glTexCoord1sv(param);
	}
#line 2993 "pogl_gl_Ver3_Tex1.c"
    }
    XSRETURN_EMPTY;
}

#endif /* HAVE_GL */
#ifdef __cplusplus
extern "C"
#endif
XS_EXTERNAL(boot_OpenGL__GL__Ver3Tex1); /* prototype to pass -Wmissing-prototypes */
XS_EXTERNAL(boot_OpenGL__GL__Ver3Tex1)
{
    dVAR; dXSARGS;
#if (PERL_REVISION == 5 && PERL_VERSION < 9)
    char* file = __FILE__;
#else
    const char* file = __FILE__;
#endif

    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(items); /* -W */
#ifdef XS_APIVERSION_BOOTCHECK
    XS_APIVERSION_BOOTCHECK;
#endif
    XS_VERSION_BOOTCHECK;

#if XSubPPtmpAAAA
        newXS("OpenGL::glVertex3d", XS_OpenGL_glVertex3d, file);
        newXS("OpenGL::glVertex3dv_c", XS_OpenGL_glVertex3dv_c, file);
        newXS("OpenGL::glVertex3dv_s", XS_OpenGL_glVertex3dv_s, file);
        newXS("OpenGL::glVertex3dv_p", XS_OpenGL_glVertex3dv_p, file);
        newXS("OpenGL::glVertex3f", XS_OpenGL_glVertex3f, file);
        newXS("OpenGL::glVertex3fv_c", XS_OpenGL_glVertex3fv_c, file);
        newXS("OpenGL::glVertex3fv_s", XS_OpenGL_glVertex3fv_s, file);
        newXS("OpenGL::glVertex3fv_p", XS_OpenGL_glVertex3fv_p, file);
        newXS("OpenGL::glVertex3i", XS_OpenGL_glVertex3i, file);
        newXS("OpenGL::glVertex3iv_c", XS_OpenGL_glVertex3iv_c, file);
        newXS("OpenGL::glVertex3iv_s", XS_OpenGL_glVertex3iv_s, file);
        newXS("OpenGL::glVertex3iv_p", XS_OpenGL_glVertex3iv_p, file);
        newXS("OpenGL::glVertex3s", XS_OpenGL_glVertex3s, file);
        newXS("OpenGL::glVertex3sv_c", XS_OpenGL_glVertex3sv_c, file);
        newXS("OpenGL::glVertex3sv_s", XS_OpenGL_glVertex3sv_s, file);
        newXS("OpenGL::glVertex3sv_p", XS_OpenGL_glVertex3sv_p, file);
        newXS("OpenGL::glVertex4d", XS_OpenGL_glVertex4d, file);
        newXS("OpenGL::glVertex4dv_c", XS_OpenGL_glVertex4dv_c, file);
        newXS("OpenGL::glVertex4dv_s", XS_OpenGL_glVertex4dv_s, file);
        newXS("OpenGL::glVertex4dv_p", XS_OpenGL_glVertex4dv_p, file);
        newXS("OpenGL::glVertex4f", XS_OpenGL_glVertex4f, file);
        newXS("OpenGL::glVertex4fv_c", XS_OpenGL_glVertex4fv_c, file);
        newXS("OpenGL::glVertex4fv_s", XS_OpenGL_glVertex4fv_s, file);
        newXS("OpenGL::glVertex4fv_p", XS_OpenGL_glVertex4fv_p, file);
        newXS("OpenGL::glVertex4i", XS_OpenGL_glVertex4i, file);
        newXS("OpenGL::glVertex4iv_c", XS_OpenGL_glVertex4iv_c, file);
        newXS("OpenGL::glVertex4iv_s", XS_OpenGL_glVertex4iv_s, file);
        newXS("OpenGL::glVertex4iv_p", XS_OpenGL_glVertex4iv_p, file);
        newXS("OpenGL::glVertex4s", XS_OpenGL_glVertex4s, file);
        newXS("OpenGL::glVertex4sv_s", XS_OpenGL_glVertex4sv_s, file);
        newXS("OpenGL::glVertex4sv_c", XS_OpenGL_glVertex4sv_c, file);
        newXS("OpenGL::glVertex4sv_p", XS_OpenGL_glVertex4sv_p, file);
        newXS("OpenGL::glNormal3b", XS_OpenGL_glNormal3b, file);
        newXS("OpenGL::glNormal3bv_c", XS_OpenGL_glNormal3bv_c, file);
        newXS("OpenGL::glNormal3bv_s", XS_OpenGL_glNormal3bv_s, file);
        newXS("OpenGL::glNormal3bv_p", XS_OpenGL_glNormal3bv_p, file);
        newXS("OpenGL::glNormal3d", XS_OpenGL_glNormal3d, file);
        newXS("OpenGL::glNormal3dv_c", XS_OpenGL_glNormal3dv_c, file);
        newXS("OpenGL::glNormal3dv_s", XS_OpenGL_glNormal3dv_s, file);
        newXS("OpenGL::glNormal3dv_p", XS_OpenGL_glNormal3dv_p, file);
        newXS("OpenGL::glNormal3f", XS_OpenGL_glNormal3f, file);
        newXS("OpenGL::glNormal3fv_c", XS_OpenGL_glNormal3fv_c, file);
        newXS("OpenGL::glNormal3fv_s", XS_OpenGL_glNormal3fv_s, file);
        newXS("OpenGL::glNormal3fv_p", XS_OpenGL_glNormal3fv_p, file);
        newXS("OpenGL::glNormal3i", XS_OpenGL_glNormal3i, file);
        newXS("OpenGL::glNormal3iv_c", XS_OpenGL_glNormal3iv_c, file);
        newXS("OpenGL::glNormal3iv_s", XS_OpenGL_glNormal3iv_s, file);
        newXS("OpenGL::glNormal3iv_p", XS_OpenGL_glNormal3iv_p, file);
        newXS("OpenGL::glNormal3s", XS_OpenGL_glNormal3s, file);
        newXS("OpenGL::glNormal3sv_c", XS_OpenGL_glNormal3sv_c, file);
        newXS("OpenGL::glNormal3sv_s", XS_OpenGL_glNormal3sv_s, file);
        newXS("OpenGL::glNormal3sv_p", XS_OpenGL_glNormal3sv_p, file);
        newXS("OpenGL::glColor3b", XS_OpenGL_glColor3b, file);
        newXS("OpenGL::glColor3bv_c", XS_OpenGL_glColor3bv_c, file);
        newXS("OpenGL::glColor3bv_s", XS_OpenGL_glColor3bv_s, file);
        newXS("OpenGL::glColor3bv_p", XS_OpenGL_glColor3bv_p, file);
        newXS("OpenGL::glColor3d", XS_OpenGL_glColor3d, file);
        newXS("OpenGL::glColor3dv_c", XS_OpenGL_glColor3dv_c, file);
        newXS("OpenGL::glColor3dv_s", XS_OpenGL_glColor3dv_s, file);
        newXS("OpenGL::glColor3dv_p", XS_OpenGL_glColor3dv_p, file);
        newXS("OpenGL::glColor3f", XS_OpenGL_glColor3f, file);
        newXS("OpenGL::glColor3fv_c", XS_OpenGL_glColor3fv_c, file);
        newXS("OpenGL::glColor3fv_s", XS_OpenGL_glColor3fv_s, file);
        newXS("OpenGL::glColor3fv_p", XS_OpenGL_glColor3fv_p, file);
        newXS("OpenGL::glColor3i", XS_OpenGL_glColor3i, file);
        newXS("OpenGL::glColor3iv_c", XS_OpenGL_glColor3iv_c, file);
        newXS("OpenGL::glColor3iv_s", XS_OpenGL_glColor3iv_s, file);
        newXS("OpenGL::glColor3iv_p", XS_OpenGL_glColor3iv_p, file);
        newXS("OpenGL::glColor3s", XS_OpenGL_glColor3s, file);
        newXS("OpenGL::glColor3sv_c", XS_OpenGL_glColor3sv_c, file);
        newXS("OpenGL::glColor3sv_s", XS_OpenGL_glColor3sv_s, file);
        newXS("OpenGL::glColor3sv_p", XS_OpenGL_glColor3sv_p, file);
        newXS("OpenGL::glColor3ub", XS_OpenGL_glColor3ub, file);
        newXS("OpenGL::glColor3ubv_c", XS_OpenGL_glColor3ubv_c, file);
        newXS("OpenGL::glColor3ubv_s", XS_OpenGL_glColor3ubv_s, file);
        newXS("OpenGL::glColor3ubv_p", XS_OpenGL_glColor3ubv_p, file);
        newXS("OpenGL::glColor3ui", XS_OpenGL_glColor3ui, file);
        newXS("OpenGL::glColor3uiv_c", XS_OpenGL_glColor3uiv_c, file);
        newXS("OpenGL::glColor3uiv_s", XS_OpenGL_glColor3uiv_s, file);
        newXS("OpenGL::glColor3uiv_p", XS_OpenGL_glColor3uiv_p, file);
        newXS("OpenGL::glColor3us", XS_OpenGL_glColor3us, file);
        newXS("OpenGL::glColor3usv_c", XS_OpenGL_glColor3usv_c, file);
        newXS("OpenGL::glColor3usv_s", XS_OpenGL_glColor3usv_s, file);
        newXS("OpenGL::glColor3usv_p", XS_OpenGL_glColor3usv_p, file);
        newXS("OpenGL::glColor4b", XS_OpenGL_glColor4b, file);
        newXS("OpenGL::glColor4bv_c", XS_OpenGL_glColor4bv_c, file);
        newXS("OpenGL::glColor4bv_s", XS_OpenGL_glColor4bv_s, file);
        newXS("OpenGL::glColor4bv_p", XS_OpenGL_glColor4bv_p, file);
        newXS("OpenGL::glColor4d", XS_OpenGL_glColor4d, file);
        newXS("OpenGL::glColor4dv_c", XS_OpenGL_glColor4dv_c, file);
        newXS("OpenGL::glColor4dv_s", XS_OpenGL_glColor4dv_s, file);
        newXS("OpenGL::glColor4dv_p", XS_OpenGL_glColor4dv_p, file);
        newXS("OpenGL::glColor4f", XS_OpenGL_glColor4f, file);
        newXS("OpenGL::glColor4fv_c", XS_OpenGL_glColor4fv_c, file);
        newXS("OpenGL::glColor4fv_s", XS_OpenGL_glColor4fv_s, file);
        newXS("OpenGL::glColor4fv_p", XS_OpenGL_glColor4fv_p, file);
        newXS("OpenGL::glColor4i", XS_OpenGL_glColor4i, file);
        newXS("OpenGL::glColor4iv_c", XS_OpenGL_glColor4iv_c, file);
        newXS("OpenGL::glColor4iv_s", XS_OpenGL_glColor4iv_s, file);
        newXS("OpenGL::glColor4iv_p", XS_OpenGL_glColor4iv_p, file);
        newXS("OpenGL::glColor4s", XS_OpenGL_glColor4s, file);
        newXS("OpenGL::glColor4sv_c", XS_OpenGL_glColor4sv_c, file);
        newXS("OpenGL::glColor4sv_s", XS_OpenGL_glColor4sv_s, file);
        newXS("OpenGL::glColor4sv_p", XS_OpenGL_glColor4sv_p, file);
        newXS("OpenGL::glColor4ub", XS_OpenGL_glColor4ub, file);
        newXS("OpenGL::glColor4ubv_c", XS_OpenGL_glColor4ubv_c, file);
        newXS("OpenGL::glColor4ubv_s", XS_OpenGL_glColor4ubv_s, file);
        newXS("OpenGL::glColor4ubv_p", XS_OpenGL_glColor4ubv_p, file);
        newXS("OpenGL::glColor4ui", XS_OpenGL_glColor4ui, file);
        newXS("OpenGL::glColor4uiv_s", XS_OpenGL_glColor4uiv_s, file);
        newXS("OpenGL::glColor4uiv_c", XS_OpenGL_glColor4uiv_c, file);
        newXS("OpenGL::glColor4uiv_p", XS_OpenGL_glColor4uiv_p, file);
        newXS("OpenGL::glColor4us", XS_OpenGL_glColor4us, file);
        newXS("OpenGL::glColor4usv_c", XS_OpenGL_glColor4usv_c, file);
        newXS("OpenGL::glColor4usv_s", XS_OpenGL_glColor4usv_s, file);
        newXS("OpenGL::glColor4usv_p", XS_OpenGL_glColor4usv_p, file);
        newXS("OpenGL::glTexCoord1d", XS_OpenGL_glTexCoord1d, file);
        newXS("OpenGL::glTexCoord1dv_c", XS_OpenGL_glTexCoord1dv_c, file);
        newXS("OpenGL::glTexCoord1dv_s", XS_OpenGL_glTexCoord1dv_s, file);
        newXS("OpenGL::glTexCoord1dv_p", XS_OpenGL_glTexCoord1dv_p, file);
        newXS("OpenGL::glTexCoord1f", XS_OpenGL_glTexCoord1f, file);
        newXS("OpenGL::glTexCoord1fv_c", XS_OpenGL_glTexCoord1fv_c, file);
        newXS("OpenGL::glTexCoord1fv_s", XS_OpenGL_glTexCoord1fv_s, file);
        newXS("OpenGL::glTexCoord1fv_p", XS_OpenGL_glTexCoord1fv_p, file);
        newXS("OpenGL::glTexCoord1i", XS_OpenGL_glTexCoord1i, file);
        newXS("OpenGL::glTexCoord1iv_c", XS_OpenGL_glTexCoord1iv_c, file);
        newXS("OpenGL::glTexCoord1iv_s", XS_OpenGL_glTexCoord1iv_s, file);
        newXS("OpenGL::glTexCoord1iv_p", XS_OpenGL_glTexCoord1iv_p, file);
        newXS("OpenGL::glTexCoord1s", XS_OpenGL_glTexCoord1s, file);
        newXS("OpenGL::glTexCoord1sv_c", XS_OpenGL_glTexCoord1sv_c, file);
        newXS("OpenGL::glTexCoord1sv_s", XS_OpenGL_glTexCoord1sv_s, file);
        newXS("OpenGL::glTexCoord1sv_p", XS_OpenGL_glTexCoord1sv_p, file);
#endif

    /* Initialisation Section */

#if XSubPPtmpAAAA
#endif
#line 3158 "pogl_gl_Ver3_Tex1.c"

    /* End of Initialisation Section */

#if (PERL_REVISION == 5 && PERL_VERSION >= 9)
  if (PL_unitcheckav)
       call_list(PL_scopestack_ix, PL_unitcheckav);
#endif
    XSRETURN_YES;
}

