/*
 * This file was generated automatically by ExtUtils::ParseXS version 3.34 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(const CV *const cv, const char *const params);

STATIC void
S_croak_xs_usage(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_nocontext("Usage: %s::%s(%s)", hvname, gvname, params);
        else
	    Perl_croak_nocontext("Usage: %s(%s)", gvname, params);
    } else {
        /* Pants. I don't think that it should be possible to get here. */
	Perl_croak_nocontext("Usage: CODE(0x%" UVxf ")(%s)", PTR2UV(cv), params);
    }
}
#undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE

#define croak_xs_usage        S_croak_xs_usage

#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) */

#if PERL_VERSION_LE(5, 21, 5)
#  define newXS_deffile(a,b) Perl_newXS(aTHX_ a,b,file)
#else
#  define newXS_deffile(a,b) Perl_newXS_deffile(aTHX_ a,b)
#endif

#line 204 "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 240 "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 260 "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 287 "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 324 "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 344 "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 371 "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 408 "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 428 "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 455 "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 492 "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 512 "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 539 "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 578 "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 598 "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 628 "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 667 "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 687 "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 717 "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 756 "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 776 "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 806 "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 848 "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 865 "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 895 "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 932 "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 952 "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 979 "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 1016 "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 1036 "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 1063 "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 1100 "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 1120 "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 1147 "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 1184 "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 1204 "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 1231 "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 1268 "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 1288 "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 1315 "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 1352 "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 1372 "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 1399 "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 1436 "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 1456 "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 1483 "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 1520 "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 1540 "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 1567 "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 1604 "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 1624 "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 1651 "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 1688 "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 1708 "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 1735 "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 1772 "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 1792 "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 1819 "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 1856 "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 1876 "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 1903 "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 1940 "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 1960 "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 1987 "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 2026 "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 2046 "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 2076 "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 2115 "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 2135 "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 2165 "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 2204 "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 2224 "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 2254 "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 2293 "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 2313 "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 2343 "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 2382 "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 2402 "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 2432 "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 2471 "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 2491 "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 2521 "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 2563 "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 2580 "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 2610 "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 2649 "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 2669 "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 2699 "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 2732 "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 2752 "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 2773 "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 2806 "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 2826 "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 2847 "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 2880 "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 2900 "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 2921 "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 2954 "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 2974 "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 2995 "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)
{
#if PERL_VERSION_LE(5, 21, 5)
    dVAR; dXSARGS;
#else
    dVAR; dXSBOOTARGSXSAPIVERCHK;
#endif
#if (PERL_REVISION == 5 && PERL_VERSION < 9)
    char* file = __FILE__;
#else
    const char* file = __FILE__;
#endif

    PERL_UNUSED_VAR(file);

    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(items); /* -W */
#if PERL_VERSION_LE(5, 21, 5)
    XS_VERSION_BOOTCHECK;
#  ifdef XS_APIVERSION_BOOTCHECK
    XS_APIVERSION_BOOTCHECK;
#  endif
#endif

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

    /* Initialisation Section */

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

    /* End of Initialisation Section */

#if PERL_VERSION_LE(5, 21, 5)
#  if PERL_VERSION_GE(5, 9, 0)
    if (PL_unitcheckav)
        call_list(PL_scopestack_ix, PL_unitcheckav);
#  endif
    XSRETURN_YES;
#else
    Perl_xs_boot_epilog(aTHX_ ax);
#endif
}

