/* Generated by Cython 0.27.3 */

#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
    #error Cython requires Python 2.6+ or Python 3.3+.
#else
#define CYTHON_ABI "0_27_3"
#define CYTHON_FUTURE_DIVISION 0
#include <stddef.h>
#ifndef offsetof
  #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
  #ifndef __fastcall
    #define __fastcall
  #endif
#endif
#ifndef DL_IMPORT
  #define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#define __PYX_COMMA ,
#ifndef HAVE_LONG_LONG
  #if PY_VERSION_HEX >= 0x02070000
    #define HAVE_LONG_LONG
  #endif
#endif
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
  #define CYTHON_COMPILING_IN_PYPY 1
  #define CYTHON_COMPILING_IN_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 0
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #if PY_VERSION_HEX < 0x03050000
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #undef CYTHON_USE_UNICODE_INTERNALS
  #define CYTHON_USE_UNICODE_INTERNALS 0
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #undef CYTHON_AVOID_BORROWED_REFS
  #define CYTHON_AVOID_BORROWED_REFS 1
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
#elif defined(PYSTON_VERSION)
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 1
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #undef CYTHON_USE_ASYNC_SLOTS
  #define CYTHON_USE_ASYNC_SLOTS 0
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
#else
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 1
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYTYPE_LOOKUP
    #define CYTHON_USE_PYTYPE_LOOKUP 0
  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
    #define CYTHON_USE_PYTYPE_LOOKUP 1
  #endif
  #if PY_MAJOR_VERSION < 3
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYLONG_INTERNALS
    #define CYTHON_USE_PYLONG_INTERNALS 0
  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
    #define CYTHON_USE_PYLONG_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_PYLIST_INTERNALS
    #define CYTHON_USE_PYLIST_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #if PY_VERSION_HEX < 0x030300F0
    #undef CYTHON_USE_UNICODE_WRITER
    #define CYTHON_USE_UNICODE_WRITER 0
  #elif !defined(CYTHON_USE_UNICODE_WRITER)
    #define CYTHON_USE_UNICODE_WRITER 1
  #endif
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #ifndef CYTHON_FAST_THREAD_STATE
    #define CYTHON_FAST_THREAD_STATE 1
  #endif
  #ifndef CYTHON_FAST_PYCALL
    #define CYTHON_FAST_PYCALL 1
  #endif
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT (0 && PY_VERSION_HEX >= 0x03050000)
  #endif
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
  #endif
#endif
#if !defined(CYTHON_FAST_PYCCALL)
#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
#endif
#if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
  #undef SHIFT
  #undef BASE
  #undef MASK
#endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
  #define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyClass_Type
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyType_Type
#endif
#ifndef Py_TPFLAGS_CHECKTYPES
  #define Py_TPFLAGS_CHECKTYPES 0
#endif
#ifndef Py_TPFLAGS_HAVE_INDEX
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#ifndef Py_TPFLAGS_HAVE_FINALIZE
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#if PY_VERSION_HEX < 0x030700A0 || !defined(METH_FASTCALL)
  #ifndef METH_FASTCALL
     #define METH_FASTCALL 0x80
  #endif
  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject **args, Py_ssize_t nargs);
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject **args,
                                                          Py_ssize_t nargs, PyObject *kwnames);
#else
  #define __Pyx_PyCFunctionFast _PyCFunctionFast
  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
#endif
#if CYTHON_FAST_PYCCALL
#define __Pyx_PyFastCFunction_Check(func)\
    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)))))
#else
#define __Pyx_PyFastCFunction_Check(func) 0
#endif
#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#elif PY_VERSION_HEX >= 0x03060000
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
#elif PY_VERSION_HEX >= 0x03000000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#else
  #define __Pyx_PyThreadState_Current _PyThreadState_Current
#endif
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
#else
#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
#endif
#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
  #define CYTHON_PEP393_ENABLED 1
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
                                              0 : _PyUnicode_Ready((PyObject *)(op)))
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
#else
  #define CYTHON_PEP393_ENABLED 0
  #define PyUnicode_1BYTE_KIND  1
  #define PyUnicode_2BYTE_KIND  2
  #define PyUnicode_4BYTE_KIND  4
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
#endif
#if CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
#else
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
  #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
  #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
  #define PyObject_Malloc(s)   PyMem_Malloc(s)
  #define PyObject_Free(p)     PyMem_Free(p)
  #define PyObject_Realloc(p)  PyMem_Realloc(p)
#endif
#if CYTHON_COMPILING_IN_PYSTON
  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
#else
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
#endif
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
#else
  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII)
  #define PyObject_ASCII(o)            PyObject_Repr(o)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyStringObject               PyUnicodeObject
  #define PyString_Type                PyUnicode_Type
  #define PyString_Check               PyUnicode_Check
  #define PyString_CheckExact          PyUnicode_CheckExact
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
  #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
#if PY_MAJOR_VERSION >= 3
  #define PyIntObject                  PyLongObject
  #define PyInt_Type                   PyLong_Type
  #define PyInt_Check(op)              PyLong_Check(op)
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
  #define PyInt_FromString             PyLong_FromString
  #define PyInt_FromUnicode            PyLong_FromUnicode
  #define PyInt_FromLong               PyLong_FromLong
  #define PyInt_FromSize_t             PyLong_FromSize_t
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
  #define PyInt_AsLong                 PyLong_AsLong
  #define PyInt_AS_LONG                PyLong_AS_LONG
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
  #define PyNumber_Int                 PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBoolObject                 PyLongObject
#endif
#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
  #ifndef PyUnicode_InternFromString
    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
  #endif
#endif
#if PY_VERSION_HEX < 0x030200A4
  typedef long Py_hash_t;
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
#else
  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#else
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
#ifndef __has_attribute
  #define __has_attribute(x) 0
#endif
#ifndef __has_cpp_attribute
  #define __has_cpp_attribute(x) 0
#endif
#if CYTHON_USE_ASYNC_SLOTS
  #if PY_VERSION_HEX >= 0x030500B1
    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
  #else
    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
  #endif
#else
  #define __Pyx_PyType_AsAsync(obj) NULL
#endif
#ifndef __Pyx_PyAsyncMethodsStruct
    typedef struct {
        unaryfunc am_await;
        unaryfunc am_aiter;
        unaryfunc am_anext;
    } __Pyx_PyAsyncMethodsStruct;
#endif
#ifndef CYTHON_RESTRICT
  #if defined(__GNUC__)
    #define CYTHON_RESTRICT __restrict__
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
    #define CYTHON_RESTRICT __restrict
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_RESTRICT restrict
  #else
    #define CYTHON_RESTRICT
  #endif
#endif
#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define CYTHON_UNUSED __attribute__ ((__unused__))
#   else
#     define CYTHON_UNUSED
#   endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
#   define CYTHON_UNUSED __attribute__ ((__unused__))
# else
#   define CYTHON_UNUSED
# endif
#endif
#ifndef CYTHON_MAYBE_UNUSED_VAR
#  if defined(__cplusplus)
     template<class T> void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
#  else
#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
#  endif
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON
#  define CYTHON_NCP_UNUSED
# else
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
#ifdef _MSC_VER
    #ifndef _MSC_STDINT_H_
        #if _MSC_VER < 1300
           typedef unsigned char     uint8_t;
           typedef unsigned int      uint32_t;
        #else
           typedef unsigned __int8   uint8_t;
           typedef unsigned __int32  uint32_t;
        #endif
    #endif
#else
   #include <stdint.h>
#endif
#ifndef CYTHON_FALLTHROUGH
  #if defined(__cplusplus) && __cplusplus >= 201103L
    #if __has_cpp_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH [[fallthrough]]
    #elif __has_cpp_attribute(clang::fallthrough)
      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
    #elif __has_cpp_attribute(gnu::fallthrough)
      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
    #endif
  #endif
  #ifndef CYTHON_FALLTHROUGH
    #if __has_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
    #else
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
  #if defined(__clang__ ) && defined(__apple_build_version__)
    #if __apple_build_version__ < 7000000
      #undef  CYTHON_FALLTHROUGH
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
#endif

#ifndef CYTHON_INLINE
  #if defined(__clang__)
    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
  #elif defined(__GNUC__)
    #define CYTHON_INLINE __inline__
  #elif defined(_MSC_VER)
    #define CYTHON_INLINE __inline
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_INLINE inline
  #else
    #define CYTHON_INLINE
  #endif
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
  #define _USE_MATH_DEFINES
#endif
#include <math.h>
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif
#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
#define __Pyx_truncl trunc
#else
#define __Pyx_truncl truncl
#endif


#define __PYX_ERR(f_index, lineno, Ln_error) \
{ \
  __pyx_filename = __pyx_f[f_index]; __pyx_lineno = lineno; __pyx_clineno = __LINE__; goto Ln_error; \
}

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#define __PYX_HAVE__renpy__gl2__uguugl
#define __PYX_HAVE_API__renpy__gl2__uguugl
#include <stdint.h>
#include <stddef.h>
#include "renpygl.h"
#include <string.h>
#include <stdio.h>
#include "SDL.h"
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
#define CYTHON_WITHOUT_ASSERTIONS
#endif

typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_uchar_cast(c) ((unsigned char)c)
#define __Pyx_long_cast(x) ((long)x)
#define __Pyx_fits_Py_ssize_t(v, type, is_signed)  (\
    (sizeof(type) < sizeof(Py_ssize_t))  ||\
    (sizeof(type) > sizeof(Py_ssize_t) &&\
          likely(v < (type)PY_SSIZE_T_MAX ||\
                 v == (type)PY_SSIZE_T_MAX)  &&\
          (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\
                                v == (type)PY_SSIZE_T_MIN)))  ||\
    (sizeof(type) == sizeof(Py_ssize_t) &&\
          (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\
                               v == (type)PY_SSIZE_T_MAX)))  )
#if defined (__cplusplus) && __cplusplus >= 201103L
    #include <cstdlib>
    #define __Pyx_sst_abs(value) std::abs(value)
#elif SIZEOF_INT >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) abs(value)
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) labs(value)
#elif defined (_MSC_VER)
    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define __Pyx_sst_abs(value) llabs(value)
#elif defined (__GNUC__)
    #define __Pyx_sst_abs(value) __builtin_llabs(value)
#else
    #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
#endif
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString        PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
#if PY_MAJOR_VERSION < 3
    #define __Pyx_PyStr_FromString        __Pyx_PyBytes_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return (size_t)(u_end - u - 1);
}
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
#define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
#define __Pyx_PySequence_Tuple(obj)\
    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_ASSUME_SAFE_MACROS
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION >= 3
#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
#else
#define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x))
#endif
#define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Float(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    const char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    if (strcmp(default_encoding_c, "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        char ascii_chars[128];
        int c;
        for (c = 0; c < 128; c++) {
            ascii_chars[c] = c;
        }
        __Pyx_sys_getdefaultencoding_not_ascii = 1;
        ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
        if (!ascii_chars_u) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
            PyErr_Format(
                PyExc_ValueError,
                "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
                default_encoding_c);
            goto bad;
        }
        Py_DECREF(ascii_chars_u);
        Py_DECREF(ascii_chars_b);
    }
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
    if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


/* Test for GCC > 2.95 */
#if defined(__GNUC__)     && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
  #define likely(x)   __builtin_expect(!!(x), 1)
  #define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
  #define likely(x)   (x)
  #define unlikely(x) (x)
#endif /* __GNUC__ */
static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }

static PyObject *__pyx_m = NULL;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_cython_runtime;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static PyObject *__pyx_empty_unicode;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;


static const char *__pyx_f[] = {
  "uguugl.pyx",
};

/*--- Type declarations ---*/

/* "renpy/gl2/uguugl.pxd":324
 *     GLenum GL_RENDERBUFFER_STENCIL_SIZE
 * 
 * ctypedef void (*glActiveTexture_type)(GLenum  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glActiveTexture_type glActiveTexture
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glActiveTexture_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":327
 * cdef glActiveTexture_type glActiveTexture
 * 
 * ctypedef void (*glAttachShader_type)(GLuint  program, GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glAttachShader_type glAttachShader
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glAttachShader_type)(GLuint, GLuint);

/* "renpy/gl2/uguugl.pxd":330
 * cdef glAttachShader_type glAttachShader
 * 
 * ctypedef void (*glBindAttribLocation_type)(GLuint  program, GLuint  index, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBindAttribLocation_type)(GLuint, GLuint, GLchar const *);

/* "renpy/gl2/uguugl.pxd":333
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 * ctypedef void (*glBindBuffer_type)(GLenum  target, GLuint  buffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindBuffer_type glBindBuffer
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBindBuffer_type)(GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":336
 * cdef glBindBuffer_type glBindBuffer
 * 
 * ctypedef void (*glBindFramebuffer_type)(GLenum  target, GLuint  framebuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBindFramebuffer_type)(GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":339
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 * ctypedef void (*glBindRenderbuffer_type)(GLenum  target, GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBindRenderbuffer_type)(GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":342
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 * ctypedef void (*glBindTexture_type)(GLenum  target, GLuint  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glBindTexture_type glBindTexture
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBindTexture_type)(GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":345
 * cdef glBindTexture_type glBindTexture
 * 
 * ctypedef void (*glBlendColor_type)(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendColor_type glBlendColor
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBlendColor_type)(GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":348
 * cdef glBlendColor_type glBlendColor
 * 
 * ctypedef void (*glBlendEquation_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendEquation_type glBlendEquation
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBlendEquation_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":351
 * cdef glBlendEquation_type glBlendEquation
 * 
 * ctypedef void (*glBlendEquationSeparate_type)(GLenum  modeRGB, GLenum  modeAlpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBlendEquationSeparate_type)(GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":354
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 * ctypedef void (*glBlendFunc_type)(GLenum  sfactor, GLenum  dfactor) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendFunc_type glBlendFunc
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBlendFunc_type)(GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":357
 * cdef glBlendFunc_type glBlendFunc
 * 
 * ctypedef void (*glBlendFuncSeparate_type)(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil             # <<<<<<<<<<<<<<
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBlendFuncSeparate_type)(GLenum, GLenum, GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":360
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 * ctypedef void (*glBufferData_type)(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil             # <<<<<<<<<<<<<<
 * cdef glBufferData_type glBufferData
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBufferData_type)(GLenum, GLsizeiptr, void const *, GLenum);

/* "renpy/gl2/uguugl.pxd":363
 * cdef glBufferData_type glBufferData
 * 
 * ctypedef void (*glBufferSubData_type)(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glBufferSubData_type glBufferSubData
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glBufferSubData_type)(GLenum, GLintptr, GLsizeiptr, void const *);

/* "renpy/gl2/uguugl.pxd":366
 * cdef glBufferSubData_type glBufferSubData
 * 
 * ctypedef GLenum (*glCheckFramebufferStatus_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 */
typedef GLenum (*__pyx_t_5renpy_3gl2_6uguugl_glCheckFramebufferStatus_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":369
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 * ctypedef void (*glClear_type)(GLbitfield  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glClear_type glClear
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glClear_type)(GLbitfield);

/* "renpy/gl2/uguugl.pxd":372
 * cdef glClear_type glClear
 * 
 * ctypedef void (*glClearColor_type)(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glClearColor_type glClearColor
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glClearColor_type)(GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":375
 * cdef glClearColor_type glClearColor
 * 
 * ctypedef void (*glClearStencil_type)(GLint  s) nogil             # <<<<<<<<<<<<<<
 * cdef glClearStencil_type glClearStencil
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glClearStencil_type)(GLint);

/* "renpy/gl2/uguugl.pxd":378
 * cdef glClearStencil_type glClearStencil
 * 
 * ctypedef void (*glColorMask_type)(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil             # <<<<<<<<<<<<<<
 * cdef glColorMask_type glColorMask
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glColorMask_type)(GLboolean, GLboolean, GLboolean, GLboolean);

/* "renpy/gl2/uguugl.pxd":381
 * cdef glColorMask_type glColorMask
 * 
 * ctypedef void (*glCompileShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glCompileShader_type glCompileShader
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCompileShader_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":384
 * cdef glCompileShader_type glCompileShader
 * 
 * ctypedef void (*glCompressedTexImage2D_type)(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexImage2D_type)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, void const *);

/* "renpy/gl2/uguugl.pxd":387
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 * ctypedef void (*glCompressedTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil             # <<<<<<<<<<<<<<
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, void const *);

/* "renpy/gl2/uguugl.pxd":390
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 * ctypedef void (*glCopyTexImage2D_type)(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil             # <<<<<<<<<<<<<<
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCopyTexImage2D_type)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);

/* "renpy/gl2/uguugl.pxd":393
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 * ctypedef void (*glCopyTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCopyTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);

/* "renpy/gl2/uguugl.pxd":396
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 * ctypedef GLuint (*glCreateProgram_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glCreateProgram_type glCreateProgram
 * 
 */
typedef GLuint (*__pyx_t_5renpy_3gl2_6uguugl_glCreateProgram_type)(void);

/* "renpy/gl2/uguugl.pxd":399
 * cdef glCreateProgram_type glCreateProgram
 * 
 * ctypedef GLuint (*glCreateShader_type)(GLenum  type) nogil             # <<<<<<<<<<<<<<
 * cdef glCreateShader_type glCreateShader
 * 
 */
typedef GLuint (*__pyx_t_5renpy_3gl2_6uguugl_glCreateShader_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":402
 * cdef glCreateShader_type glCreateShader
 * 
 * ctypedef void (*glCullFace_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glCullFace_type glCullFace
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glCullFace_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":405
 * cdef glCullFace_type glCullFace
 * 
 * ctypedef void (*glDeleteBuffers_type)(GLsizei  n, const GLuint * buffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteBuffers_type)(GLsizei, GLuint const *);

/* "renpy/gl2/uguugl.pxd":408
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 * ctypedef void (*glDeleteFramebuffers_type)(GLsizei  n, const GLuint * framebuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteFramebuffers_type)(GLsizei, GLuint const *);

/* "renpy/gl2/uguugl.pxd":411
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 * ctypedef void (*glDeleteProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteProgram_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":414
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 * ctypedef void (*glDeleteRenderbuffers_type)(GLsizei  n, const GLuint * renderbuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteRenderbuffers_type)(GLsizei, GLuint const *);

/* "renpy/gl2/uguugl.pxd":417
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 * ctypedef void (*glDeleteShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteShader_type glDeleteShader
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteShader_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":420
 * cdef glDeleteShader_type glDeleteShader
 * 
 * ctypedef void (*glDeleteTextures_type)(GLsizei  n, const GLuint * textures) nogil             # <<<<<<<<<<<<<<
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDeleteTextures_type)(GLsizei, GLuint const *);

/* "renpy/gl2/uguugl.pxd":423
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 * ctypedef void (*glDepthFunc_type)(GLenum  func) nogil             # <<<<<<<<<<<<<<
 * cdef glDepthFunc_type glDepthFunc
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDepthFunc_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":426
 * cdef glDepthFunc_type glDepthFunc
 * 
 * ctypedef void (*glDepthMask_type)(GLboolean  flag) nogil             # <<<<<<<<<<<<<<
 * cdef glDepthMask_type glDepthMask
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDepthMask_type)(GLboolean);

/* "renpy/gl2/uguugl.pxd":429
 * cdef glDepthMask_type glDepthMask
 * 
 * ctypedef void (*glDetachShader_type)(GLuint  program, GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glDetachShader_type glDetachShader
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDetachShader_type)(GLuint, GLuint);

/* "renpy/gl2/uguugl.pxd":432
 * cdef glDetachShader_type glDetachShader
 * 
 * ctypedef void (*glDisable_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glDisable_type glDisable
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDisable_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":435
 * cdef glDisable_type glDisable
 * 
 * ctypedef void (*glDisableVertexAttribArray_type)(GLuint  index) nogil             # <<<<<<<<<<<<<<
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDisableVertexAttribArray_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":438
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 * ctypedef void (*glDrawArrays_type)(GLenum  mode, GLint  first, GLsizei  count) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawArrays_type glDrawArrays
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDrawArrays_type)(GLenum, GLint, GLsizei);

/* "renpy/gl2/uguugl.pxd":441
 * cdef glDrawArrays_type glDrawArrays
 * 
 * ctypedef void (*glDrawElements_type)(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil             # <<<<<<<<<<<<<<
 * cdef glDrawElements_type glDrawElements
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glDrawElements_type)(GLenum, GLsizei, GLenum, void const *);

/* "renpy/gl2/uguugl.pxd":444
 * cdef glDrawElements_type glDrawElements
 * 
 * ctypedef void (*glEnable_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glEnable_type glEnable
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glEnable_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":447
 * cdef glEnable_type glEnable
 * 
 * ctypedef void (*glEnableVertexAttribArray_type)(GLuint  index) nogil             # <<<<<<<<<<<<<<
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glEnableVertexAttribArray_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":450
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 * ctypedef void (*glFinish_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glFinish_type glFinish
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glFinish_type)(void);

/* "renpy/gl2/uguugl.pxd":453
 * cdef glFinish_type glFinish
 * 
 * ctypedef void (*glFlush_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glFlush_type glFlush
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glFlush_type)(void);

/* "renpy/gl2/uguugl.pxd":456
 * cdef glFlush_type glFlush
 * 
 * ctypedef void (*glFramebufferRenderbuffer_type)(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer_type)(GLenum, GLenum, GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":459
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 * ctypedef void (*glFramebufferTexture2D_type)(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil             # <<<<<<<<<<<<<<
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glFramebufferTexture2D_type)(GLenum, GLenum, GLenum, GLuint, GLint);

/* "renpy/gl2/uguugl.pxd":462
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 * ctypedef void (*glFrontFace_type)(GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glFrontFace_type glFrontFace
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glFrontFace_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":465
 * cdef glFrontFace_type glFrontFace
 * 
 * ctypedef void (*glGenBuffers_type)(GLsizei  n, GLuint * buffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenBuffers_type glGenBuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGenBuffers_type)(GLsizei, GLuint *);

/* "renpy/gl2/uguugl.pxd":468
 * cdef glGenBuffers_type glGenBuffers
 * 
 * ctypedef void (*glGenFramebuffers_type)(GLsizei  n, GLuint * framebuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGenFramebuffers_type)(GLsizei, GLuint *);

/* "renpy/gl2/uguugl.pxd":471
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 * ctypedef void (*glGenRenderbuffers_type)(GLsizei  n, GLuint * renderbuffers) nogil             # <<<<<<<<<<<<<<
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGenRenderbuffers_type)(GLsizei, GLuint *);

/* "renpy/gl2/uguugl.pxd":474
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 * ctypedef void (*glGenTextures_type)(GLsizei  n, GLuint * textures) nogil             # <<<<<<<<<<<<<<
 * cdef glGenTextures_type glGenTextures
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGenTextures_type)(GLsizei, GLuint *);

/* "renpy/gl2/uguugl.pxd":477
 * cdef glGenTextures_type glGenTextures
 * 
 * ctypedef void (*glGenerateMipmap_type)(GLenum  target) nogil             # <<<<<<<<<<<<<<
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGenerateMipmap_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":480
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 * ctypedef void (*glGetActiveAttrib_type)(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetActiveAttrib_type)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);

/* "renpy/gl2/uguugl.pxd":483
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 * ctypedef void (*glGetActiveUniform_type)(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetActiveUniform_type)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);

/* "renpy/gl2/uguugl.pxd":486
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 * ctypedef void (*glGetAttachedShaders_type)(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil             # <<<<<<<<<<<<<<
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetAttachedShaders_type)(GLuint, GLsizei, GLsizei *, GLuint *);

/* "renpy/gl2/uguugl.pxd":489
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 * ctypedef GLint (*glGetAttribLocation_type)(GLuint  program, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 */
typedef GLint (*__pyx_t_5renpy_3gl2_6uguugl_glGetAttribLocation_type)(GLuint, GLchar const *);

/* "renpy/gl2/uguugl.pxd":492
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 * ctypedef void (*glGetBooleanv_type)(GLenum  pname, GLboolean * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetBooleanv_type)(GLenum, GLboolean *);

/* "renpy/gl2/uguugl.pxd":495
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 * ctypedef void (*glGetBufferParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetBufferParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":498
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 * ctypedef GLenum (*glGetError_type)() nogil             # <<<<<<<<<<<<<<
 * cdef glGetError_type glGetError
 * 
 */
typedef GLenum (*__pyx_t_5renpy_3gl2_6uguugl_glGetError_type)(void);

/* "renpy/gl2/uguugl.pxd":501
 * cdef glGetError_type glGetError
 * 
 * ctypedef void (*glGetFloatv_type)(GLenum  pname, GLfloat * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetFloatv_type glGetFloatv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetFloatv_type)(GLenum, GLfloat *);

/* "renpy/gl2/uguugl.pxd":504
 * cdef glGetFloatv_type glGetFloatv
 * 
 * ctypedef void (*glGetFramebufferAttachmentParameteriv_type)(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv_type)(GLenum, GLenum, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":507
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 * ctypedef void (*glGetIntegerv_type)(GLenum  pname, GLint * data) nogil             # <<<<<<<<<<<<<<
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetIntegerv_type)(GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":510
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 * ctypedef void (*glGetProgramInfoLog_type)(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil             # <<<<<<<<<<<<<<
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetProgramInfoLog_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/gl2/uguugl.pxd":513
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 * ctypedef void (*glGetProgramiv_type)(GLuint  program, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetProgramiv_type)(GLuint, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":516
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 * ctypedef void (*glGetRenderbufferParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":519
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 * ctypedef void (*glGetShaderInfoLog_type)(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetShaderInfoLog_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/gl2/uguugl.pxd":522
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 * ctypedef void (*glGetShaderSource_type)(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetShaderSource_type)(GLuint, GLsizei, GLsizei *, GLchar *);

/* "renpy/gl2/uguugl.pxd":525
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 * ctypedef void (*glGetShaderiv_type)(GLuint  shader, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetShaderiv_type)(GLuint, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":528
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 * ctypedef const GLubyte * (*glGetString_type)(GLenum  name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetString_type glGetString
 * 
 */
typedef GLubyte const *(*__pyx_t_5renpy_3gl2_6uguugl_glGetString_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":531
 * cdef glGetString_type glGetString
 * 
 * ctypedef void (*glGetTexParameterfv_type)(GLenum  target, GLenum  pname, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameterfv_type)(GLenum, GLenum, GLfloat *);

/* "renpy/gl2/uguugl.pxd":534
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 * ctypedef void (*glGetTexParameteriv_type)(GLenum  target, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameteriv_type)(GLenum, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":537
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 * ctypedef GLint (*glGetUniformLocation_type)(GLuint  program, const GLchar * name) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 */
typedef GLint (*__pyx_t_5renpy_3gl2_6uguugl_glGetUniformLocation_type)(GLuint, GLchar const *);

/* "renpy/gl2/uguugl.pxd":540
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 * ctypedef void (*glGetUniformfv_type)(GLuint  program, GLint  location, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetUniformfv_type)(GLuint, GLint, GLfloat *);

/* "renpy/gl2/uguugl.pxd":543
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 * ctypedef void (*glGetUniformiv_type)(GLuint  program, GLint  location, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetUniformiv_type)(GLuint, GLint, GLint *);

/* "renpy/gl2/uguugl.pxd":546
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 * ctypedef void (*glGetVertexAttribPointerv_type)(GLuint  index, GLenum  pname, void ** pointer) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv_type)(GLuint, GLenum, void **);

/* "renpy/gl2/uguugl.pxd":549
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 * ctypedef void (*glGetVertexAttribfv_type)(GLuint  index, GLenum  pname, GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribfv_type)(GLuint, GLenum, GLfloat *);

/* "renpy/gl2/uguugl.pxd":552
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 * ctypedef void (*glGetVertexAttribiv_type)(GLuint  index, GLenum  pname, GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribiv_type)(GLuint, GLenum, GLint *);

/* "renpy/gl2/uguugl.pxd":555
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 * ctypedef void (*glHint_type)(GLenum  target, GLenum  mode) nogil             # <<<<<<<<<<<<<<
 * cdef glHint_type glHint
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glHint_type)(GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":558
 * cdef glHint_type glHint
 * 
 * ctypedef GLboolean (*glIsBuffer_type)(GLuint  buffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsBuffer_type glIsBuffer
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsBuffer_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":561
 * cdef glIsBuffer_type glIsBuffer
 * 
 * ctypedef GLboolean (*glIsEnabled_type)(GLenum  cap) nogil             # <<<<<<<<<<<<<<
 * cdef glIsEnabled_type glIsEnabled
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsEnabled_type)(GLenum);

/* "renpy/gl2/uguugl.pxd":564
 * cdef glIsEnabled_type glIsEnabled
 * 
 * ctypedef GLboolean (*glIsFramebuffer_type)(GLuint  framebuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsFramebuffer_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":567
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 * ctypedef GLboolean (*glIsProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glIsProgram_type glIsProgram
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsProgram_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":570
 * cdef glIsProgram_type glIsProgram
 * 
 * ctypedef GLboolean (*glIsRenderbuffer_type)(GLuint  renderbuffer) nogil             # <<<<<<<<<<<<<<
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsRenderbuffer_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":573
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 * ctypedef GLboolean (*glIsShader_type)(GLuint  shader) nogil             # <<<<<<<<<<<<<<
 * cdef glIsShader_type glIsShader
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsShader_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":576
 * cdef glIsShader_type glIsShader
 * 
 * ctypedef GLboolean (*glIsTexture_type)(GLuint  texture) nogil             # <<<<<<<<<<<<<<
 * cdef glIsTexture_type glIsTexture
 * 
 */
typedef GLboolean (*__pyx_t_5renpy_3gl2_6uguugl_glIsTexture_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":579
 * cdef glIsTexture_type glIsTexture
 * 
 * ctypedef void (*glLineWidth_type)(GLfloat  width) nogil             # <<<<<<<<<<<<<<
 * cdef glLineWidth_type glLineWidth
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glLineWidth_type)(GLfloat);

/* "renpy/gl2/uguugl.pxd":582
 * cdef glLineWidth_type glLineWidth
 * 
 * ctypedef void (*glLinkProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glLinkProgram_type glLinkProgram
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glLinkProgram_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":585
 * cdef glLinkProgram_type glLinkProgram
 * 
 * ctypedef void (*glPixelStorei_type)(GLenum  pname, GLint  param) nogil             # <<<<<<<<<<<<<<
 * cdef glPixelStorei_type glPixelStorei
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glPixelStorei_type)(GLenum, GLint);

/* "renpy/gl2/uguugl.pxd":588
 * cdef glPixelStorei_type glPixelStorei
 * 
 * ctypedef void (*glPolygonOffset_type)(GLfloat  factor, GLfloat  units) nogil             # <<<<<<<<<<<<<<
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glPolygonOffset_type)(GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":591
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 * ctypedef void (*glReadPixels_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glReadPixels_type glReadPixels
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glReadPixels_type)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void *);

/* "renpy/gl2/uguugl.pxd":594
 * cdef glReadPixels_type glReadPixels
 * 
 * ctypedef void (*glRenderbufferStorage_type)(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glRenderbufferStorage_type)(GLenum, GLenum, GLsizei, GLsizei);

/* "renpy/gl2/uguugl.pxd":597
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 * ctypedef void (*glSampleCoverage_type)(GLfloat  value, GLboolean  invert) nogil             # <<<<<<<<<<<<<<
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glSampleCoverage_type)(GLfloat, GLboolean);

/* "renpy/gl2/uguugl.pxd":600
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 * ctypedef void (*glScissor_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glScissor_type glScissor
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glScissor_type)(GLint, GLint, GLsizei, GLsizei);

/* "renpy/gl2/uguugl.pxd":603
 * cdef glScissor_type glScissor
 * 
 * ctypedef void (*glShaderSource_type)(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil             # <<<<<<<<<<<<<<
 * cdef glShaderSource_type glShaderSource
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glShaderSource_type)(GLuint, GLsizei, GLchar const *const *, GLint const *);

/* "renpy/gl2/uguugl.pxd":606
 * cdef glShaderSource_type glShaderSource
 * 
 * ctypedef void (*glStencilFunc_type)(GLenum  func, GLint  ref, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilFunc_type glStencilFunc
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilFunc_type)(GLenum, GLint, GLuint);

/* "renpy/gl2/uguugl.pxd":609
 * cdef glStencilFunc_type glStencilFunc
 * 
 * ctypedef void (*glStencilFuncSeparate_type)(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilFuncSeparate_type)(GLenum, GLenum, GLint, GLuint);

/* "renpy/gl2/uguugl.pxd":612
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 * ctypedef void (*glStencilMask_type)(GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilMask_type glStencilMask
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilMask_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":615
 * cdef glStencilMask_type glStencilMask
 * 
 * ctypedef void (*glStencilMaskSeparate_type)(GLenum  face, GLuint  mask) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilMaskSeparate_type)(GLenum, GLuint);

/* "renpy/gl2/uguugl.pxd":618
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 * ctypedef void (*glStencilOp_type)(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilOp_type glStencilOp
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilOp_type)(GLenum, GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":621
 * cdef glStencilOp_type glStencilOp
 * 
 * ctypedef void (*glStencilOpSeparate_type)(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil             # <<<<<<<<<<<<<<
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glStencilOpSeparate_type)(GLenum, GLenum, GLenum, GLenum);

/* "renpy/gl2/uguugl.pxd":624
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 * ctypedef void (*glTexImage2D_type)(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexImage2D_type glTexImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexImage2D_type)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, void const *);

/* "renpy/gl2/uguugl.pxd":627
 * cdef glTexImage2D_type glTexImage2D
 * 
 * ctypedef void (*glTexParameterf_type)(GLenum  target, GLenum  pname, GLfloat  param) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameterf_type glTexParameterf
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexParameterf_type)(GLenum, GLenum, GLfloat);

/* "renpy/gl2/uguugl.pxd":630
 * cdef glTexParameterf_type glTexParameterf
 * 
 * ctypedef void (*glTexParameterfv_type)(GLenum  target, GLenum  pname, const GLfloat * params) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexParameterfv_type)(GLenum, GLenum, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":633
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 * ctypedef void (*glTexParameteri_type)(GLenum  target, GLenum  pname, GLint  param) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameteri_type glTexParameteri
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexParameteri_type)(GLenum, GLenum, GLint);

/* "renpy/gl2/uguugl.pxd":636
 * cdef glTexParameteri_type glTexParameteri
 * 
 * ctypedef void (*glTexParameteriv_type)(GLenum  target, GLenum  pname, const GLint * params) nogil             # <<<<<<<<<<<<<<
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexParameteriv_type)(GLenum, GLenum, GLint const *);

/* "renpy/gl2/uguugl.pxd":639
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 * ctypedef void (*glTexSubImage2D_type)(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil             # <<<<<<<<<<<<<<
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glTexSubImage2D_type)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void const *);

/* "renpy/gl2/uguugl.pxd":642
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 * ctypedef void (*glUniform1f_type)(GLint  location, GLfloat  v0) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1f_type glUniform1f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform1f_type)(GLint, GLfloat);

/* "renpy/gl2/uguugl.pxd":645
 * cdef glUniform1f_type glUniform1f
 * 
 * ctypedef void (*glUniform1fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1fv_type glUniform1fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform1fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":648
 * cdef glUniform1fv_type glUniform1fv
 * 
 * ctypedef void (*glUniform1i_type)(GLint  location, GLint  v0) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1i_type glUniform1i
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform1i_type)(GLint, GLint);

/* "renpy/gl2/uguugl.pxd":651
 * cdef glUniform1i_type glUniform1i
 * 
 * ctypedef void (*glUniform1iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform1iv_type glUniform1iv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform1iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/gl2/uguugl.pxd":654
 * cdef glUniform1iv_type glUniform1iv
 * 
 * ctypedef void (*glUniform2f_type)(GLint  location, GLfloat  v0, GLfloat  v1) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2f_type glUniform2f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform2f_type)(GLint, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":657
 * cdef glUniform2f_type glUniform2f
 * 
 * ctypedef void (*glUniform2fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2fv_type glUniform2fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform2fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":660
 * cdef glUniform2fv_type glUniform2fv
 * 
 * ctypedef void (*glUniform2i_type)(GLint  location, GLint  v0, GLint  v1) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2i_type glUniform2i
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform2i_type)(GLint, GLint, GLint);

/* "renpy/gl2/uguugl.pxd":663
 * cdef glUniform2i_type glUniform2i
 * 
 * ctypedef void (*glUniform2iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform2iv_type glUniform2iv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform2iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/gl2/uguugl.pxd":666
 * cdef glUniform2iv_type glUniform2iv
 * 
 * ctypedef void (*glUniform3f_type)(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3f_type glUniform3f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform3f_type)(GLint, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":669
 * cdef glUniform3f_type glUniform3f
 * 
 * ctypedef void (*glUniform3fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3fv_type glUniform3fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform3fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":672
 * cdef glUniform3fv_type glUniform3fv
 * 
 * ctypedef void (*glUniform3i_type)(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3i_type glUniform3i
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform3i_type)(GLint, GLint, GLint, GLint);

/* "renpy/gl2/uguugl.pxd":675
 * cdef glUniform3i_type glUniform3i
 * 
 * ctypedef void (*glUniform3iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform3iv_type glUniform3iv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform3iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/gl2/uguugl.pxd":678
 * cdef glUniform3iv_type glUniform3iv
 * 
 * ctypedef void (*glUniform4f_type)(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4f_type glUniform4f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform4f_type)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":681
 * cdef glUniform4f_type glUniform4f
 * 
 * ctypedef void (*glUniform4fv_type)(GLint  location, GLsizei  count, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4fv_type glUniform4fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform4fv_type)(GLint, GLsizei, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":684
 * cdef glUniform4fv_type glUniform4fv
 * 
 * ctypedef void (*glUniform4i_type)(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4i_type glUniform4i
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform4i_type)(GLint, GLint, GLint, GLint, GLint);

/* "renpy/gl2/uguugl.pxd":687
 * cdef glUniform4i_type glUniform4i
 * 
 * ctypedef void (*glUniform4iv_type)(GLint  location, GLsizei  count, const GLint * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniform4iv_type glUniform4iv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniform4iv_type)(GLint, GLsizei, GLint const *);

/* "renpy/gl2/uguugl.pxd":690
 * cdef glUniform4iv_type glUniform4iv
 * 
 * ctypedef void (*glUniformMatrix2fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix2fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":693
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 * ctypedef void (*glUniformMatrix3fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix3fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":696
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 * ctypedef void (*glUniformMatrix4fv_type)(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil             # <<<<<<<<<<<<<<
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix4fv_type)(GLint, GLsizei, GLboolean, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":699
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 * ctypedef void (*glUseProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glUseProgram_type glUseProgram
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glUseProgram_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":702
 * cdef glUseProgram_type glUseProgram
 * 
 * ctypedef void (*glValidateProgram_type)(GLuint  program) nogil             # <<<<<<<<<<<<<<
 * cdef glValidateProgram_type glValidateProgram
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glValidateProgram_type)(GLuint);

/* "renpy/gl2/uguugl.pxd":705
 * cdef glValidateProgram_type glValidateProgram
 * 
 * ctypedef void (*glVertexAttrib1f_type)(GLuint  index, GLfloat  x) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1f_type)(GLuint, GLfloat);

/* "renpy/gl2/uguugl.pxd":708
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 * ctypedef void (*glVertexAttrib1fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1fv_type)(GLuint, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":711
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 * ctypedef void (*glVertexAttrib2f_type)(GLuint  index, GLfloat  x, GLfloat  y) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2f_type)(GLuint, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":714
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 * ctypedef void (*glVertexAttrib2fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2fv_type)(GLuint, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":717
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 * ctypedef void (*glVertexAttrib3f_type)(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3f_type)(GLuint, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":720
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 * ctypedef void (*glVertexAttrib3fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3fv_type)(GLuint, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":723
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 * ctypedef void (*glVertexAttrib4f_type)(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4f_type)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);

/* "renpy/gl2/uguugl.pxd":726
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 * ctypedef void (*glVertexAttrib4fv_type)(GLuint  index, const GLfloat * v) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4fv_type)(GLuint, GLfloat const *);

/* "renpy/gl2/uguugl.pxd":729
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 * ctypedef void (*glVertexAttribPointer_type)(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil             # <<<<<<<<<<<<<<
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glVertexAttribPointer_type)(GLuint, GLint, GLenum, GLboolean, GLsizei, void const *);

/* "renpy/gl2/uguugl.pxd":732
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 * ctypedef void (*glViewport_type)(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil             # <<<<<<<<<<<<<<
 * cdef glViewport_type glViewport
 */
typedef void (*__pyx_t_5renpy_3gl2_6uguugl_glViewport_type)(GLint, GLint, GLsizei, GLsizei);

/* --- Runtime support code (head) --- */
/* Refnanny.proto */
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, int);
    void (*DECREF)(void*, PyObject*, int);
    void (*GOTREF)(void*, PyObject*, int);
    void (*GIVEREF)(void*, PyObject*, int);
    void* (*SetupContext)(const char*, int, const char*);
    void (*FinishContext)(void**);
  } __Pyx_RefNannyAPIStruct;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname);
  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
  #define __Pyx_RefNannySetupContext(name, acquire_gil)\
          if (acquire_gil) {\
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
              PyGILState_Release(__pyx_gilstate_save);\
          } else {\
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
          }
#else
  #define __Pyx_RefNannySetupContext(name, acquire_gil)\
          __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
  #define __Pyx_RefNannyFinishContext()\
          __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
  #define __Pyx_INCREF(r)  __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_DECREF(r)  __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GOTREF(r)  __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_XINCREF(r)  do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContext()
  #define __Pyx_INCREF(r) Py_INCREF(r)
  #define __Pyx_DECREF(r) Py_DECREF(r)
  #define __Pyx_GOTREF(r)
  #define __Pyx_GIVEREF(r)
  #define __Pyx_XINCREF(r) Py_XINCREF(r)
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
  #define __Pyx_XGOTREF(r)
  #define __Pyx_XGIVEREF(r)
#endif
#define __Pyx_XDECREF_SET(r, v) do {\
        PyObject *tmp = (PyObject *) r;\
        r = v; __Pyx_XDECREF(tmp);\
    } while (0)
#define __Pyx_DECREF_SET(r, v) do {\
        PyObject *tmp = (PyObject *) r;\
        r = v; __Pyx_DECREF(tmp);\
    } while (0)
#define __Pyx_CLEAR(r)    do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)

/* PyObjectGetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro))
        return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_getattr))
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
    return PyObject_GetAttr(obj, attr_name);
}
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

/* GetItemInt.proto */
#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
                                                     int is_list, int wraparound, int boundscheck);

/* PyCFunctionFastCall.proto */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
#else
#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
#endif

/* PyFunctionFastCall.proto */
#if CYTHON_FAST_PYCALL
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
#else
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
#endif
#endif

/* PyObjectCall.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif

/* PyObjectCallMethO.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

/* PyObjectCallOneArg.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);

/* PyThreadStateGet.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
#else
#define __Pyx_PyThreadState_declare
#define __Pyx_PyThreadState_assign
#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
#endif

/* PyErrFetchRestore.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
#else
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#endif
#else
#define __Pyx_PyErr_Clear() PyErr_Clear()
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
#endif

/* RaiseException.proto */
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);

/* WriteUnraisableException.proto */
static void __Pyx_WriteUnraisable(const char *name, int clineno,
                                  int lineno, const char *filename,
                                  int full_traceback, int nogil);

/* IncludeStringH.proto */
#include <string.h>

/* decode_c_string_utf16.proto */
static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16(const char *s, Py_ssize_t size, const char *errors) {
    int byteorder = 0;
    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
}
static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16LE(const char *s, Py_ssize_t size, const char *errors) {
    int byteorder = -1;
    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
}
static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16BE(const char *s, Py_ssize_t size, const char *errors) {
    int byteorder = 1;
    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
}

/* decode_c_string.proto */
static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
         const char* cstring, Py_ssize_t start, Py_ssize_t stop,
         const char* encoding, const char* errors,
         PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors));

/* GetBuiltinName.proto */
static PyObject *__Pyx_GetBuiltinName(PyObject *name);

/* GetModuleGlobalName.proto */
static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);

/* PyObjectCallNoArg.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
#else
#define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
#endif

/* CLineInTraceback.proto */
#ifdef CYTHON_CLINE_IN_TRACEBACK
#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
#else
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
#endif

/* CodeObjectCache.proto */
typedef struct {
    PyCodeObject* code_object;
    int code_line;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);

/* AddTraceback.proto */
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLenum(GLenum value);

/* CIntFromPy.proto */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

/* CIntFromPy.proto */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

/* FastTypeChecks.proto */
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
#else
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
#endif

/* CheckBinaryVersion.proto */
static int __Pyx_check_binary_version(void);

/* PyObjectSetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o,n,NULL)
static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_setattro))
        return tp->tp_setattro(obj, attr_name, value);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_setattr))
        return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value);
#endif
    return PyObject_SetAttr(obj, attr_name, value);
}
#else
#define __Pyx_PyObject_DelAttrStr(o,n)   PyObject_DelAttr(o,n)
#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
#endif

/* VoidPtrExport.proto */
static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig);

/* InitStrings.proto */
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);


/* Module declarations from 'libc.stdint' */

/* Module declarations from 'libc.stddef' */

/* Module declarations from 'libc.string' */

/* Module declarations from 'libc.stdio' */

/* Module declarations from 'sdl2' */

/* Module declarations from 'renpy.gl2.uguugl' */
static __pyx_t_5renpy_3gl2_6uguugl_glActiveTexture_type __pyx_v_5renpy_3gl2_6uguugl_glActiveTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glAttachShader_type __pyx_v_5renpy_3gl2_6uguugl_glAttachShader;
static __pyx_t_5renpy_3gl2_6uguugl_glBindAttribLocation_type __pyx_v_5renpy_3gl2_6uguugl_glBindAttribLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glBindBuffer_type __pyx_v_5renpy_3gl2_6uguugl_glBindBuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindFramebuffer_type __pyx_v_5renpy_3gl2_6uguugl_glBindFramebuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_glBindRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindTexture_type __pyx_v_5renpy_3gl2_6uguugl_glBindTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendColor_type __pyx_v_5renpy_3gl2_6uguugl_glBlendColor;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendEquation_type __pyx_v_5renpy_3gl2_6uguugl_glBlendEquation;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendEquationSeparate_type __pyx_v_5renpy_3gl2_6uguugl_glBlendEquationSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendFunc_type __pyx_v_5renpy_3gl2_6uguugl_glBlendFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendFuncSeparate_type __pyx_v_5renpy_3gl2_6uguugl_glBlendFuncSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glBufferData_type __pyx_v_5renpy_3gl2_6uguugl_glBufferData;
static __pyx_t_5renpy_3gl2_6uguugl_glBufferSubData_type __pyx_v_5renpy_3gl2_6uguugl_glBufferSubData;
static __pyx_t_5renpy_3gl2_6uguugl_glCheckFramebufferStatus_type __pyx_v_5renpy_3gl2_6uguugl_glCheckFramebufferStatus;
static __pyx_t_5renpy_3gl2_6uguugl_glClear_type __pyx_v_5renpy_3gl2_6uguugl_glClear;
static __pyx_t_5renpy_3gl2_6uguugl_glClearColor_type __pyx_v_5renpy_3gl2_6uguugl_glClearColor;
static __pyx_t_5renpy_3gl2_6uguugl_glClearStencil_type __pyx_v_5renpy_3gl2_6uguugl_glClearStencil;
static __pyx_t_5renpy_3gl2_6uguugl_glColorMask_type __pyx_v_5renpy_3gl2_6uguugl_glColorMask;
static __pyx_t_5renpy_3gl2_6uguugl_glCompileShader_type __pyx_v_5renpy_3gl2_6uguugl_glCompileShader;
static __pyx_t_5renpy_3gl2_6uguugl_glCompressedTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCopyTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glCopyTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCopyTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glCopyTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCreateProgram_type __pyx_v_5renpy_3gl2_6uguugl_glCreateProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glCreateShader_type __pyx_v_5renpy_3gl2_6uguugl_glCreateShader;
static __pyx_t_5renpy_3gl2_6uguugl_glCullFace_type __pyx_v_5renpy_3gl2_6uguugl_glCullFace;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteBuffers_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteBuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteFramebuffers_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteFramebuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteProgram_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteRenderbuffers_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteRenderbuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteShader_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteShader;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteTextures_type __pyx_v_5renpy_3gl2_6uguugl_glDeleteTextures;
static __pyx_t_5renpy_3gl2_6uguugl_glDepthFunc_type __pyx_v_5renpy_3gl2_6uguugl_glDepthFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glDepthMask_type __pyx_v_5renpy_3gl2_6uguugl_glDepthMask;
static __pyx_t_5renpy_3gl2_6uguugl_glDetachShader_type __pyx_v_5renpy_3gl2_6uguugl_glDetachShader;
static __pyx_t_5renpy_3gl2_6uguugl_glDisable_type __pyx_v_5renpy_3gl2_6uguugl_glDisable;
static __pyx_t_5renpy_3gl2_6uguugl_glDisableVertexAttribArray_type __pyx_v_5renpy_3gl2_6uguugl_glDisableVertexAttribArray;
static __pyx_t_5renpy_3gl2_6uguugl_glDrawArrays_type __pyx_v_5renpy_3gl2_6uguugl_glDrawArrays;
static __pyx_t_5renpy_3gl2_6uguugl_glDrawElements_type __pyx_v_5renpy_3gl2_6uguugl_glDrawElements;
static __pyx_t_5renpy_3gl2_6uguugl_glEnable_type __pyx_v_5renpy_3gl2_6uguugl_glEnable;
static __pyx_t_5renpy_3gl2_6uguugl_glEnableVertexAttribArray_type __pyx_v_5renpy_3gl2_6uguugl_glEnableVertexAttribArray;
static __pyx_t_5renpy_3gl2_6uguugl_glFinish_type __pyx_v_5renpy_3gl2_6uguugl_glFinish;
static __pyx_t_5renpy_3gl2_6uguugl_glFlush_type __pyx_v_5renpy_3gl2_6uguugl_glFlush;
static __pyx_t_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glFramebufferTexture2D_type __pyx_v_5renpy_3gl2_6uguugl_glFramebufferTexture2D;
static __pyx_t_5renpy_3gl2_6uguugl_glFrontFace_type __pyx_v_5renpy_3gl2_6uguugl_glFrontFace;
static __pyx_t_5renpy_3gl2_6uguugl_glGenBuffers_type __pyx_v_5renpy_3gl2_6uguugl_glGenBuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenFramebuffers_type __pyx_v_5renpy_3gl2_6uguugl_glGenFramebuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenRenderbuffers_type __pyx_v_5renpy_3gl2_6uguugl_glGenRenderbuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenTextures_type __pyx_v_5renpy_3gl2_6uguugl_glGenTextures;
static __pyx_t_5renpy_3gl2_6uguugl_glGenerateMipmap_type __pyx_v_5renpy_3gl2_6uguugl_glGenerateMipmap;
static __pyx_t_5renpy_3gl2_6uguugl_glGetActiveAttrib_type __pyx_v_5renpy_3gl2_6uguugl_glGetActiveAttrib;
static __pyx_t_5renpy_3gl2_6uguugl_glGetActiveUniform_type __pyx_v_5renpy_3gl2_6uguugl_glGetActiveUniform;
static __pyx_t_5renpy_3gl2_6uguugl_glGetAttachedShaders_type __pyx_v_5renpy_3gl2_6uguugl_glGetAttachedShaders;
static __pyx_t_5renpy_3gl2_6uguugl_glGetAttribLocation_type __pyx_v_5renpy_3gl2_6uguugl_glGetAttribLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glGetBooleanv_type __pyx_v_5renpy_3gl2_6uguugl_glGetBooleanv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetBufferParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_glGetBufferParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetError_type __pyx_v_5renpy_3gl2_6uguugl_glGetError;
static __pyx_t_5renpy_3gl2_6uguugl_glGetFloatv_type __pyx_v_5renpy_3gl2_6uguugl_glGetFloatv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetIntegerv_type __pyx_v_5renpy_3gl2_6uguugl_glGetIntegerv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetProgramInfoLog_type __pyx_v_5renpy_3gl2_6uguugl_glGetProgramInfoLog;
static __pyx_t_5renpy_3gl2_6uguugl_glGetProgramiv_type __pyx_v_5renpy_3gl2_6uguugl_glGetProgramiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderInfoLog_type __pyx_v_5renpy_3gl2_6uguugl_glGetShaderInfoLog;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderSource_type __pyx_v_5renpy_3gl2_6uguugl_glGetShaderSource;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderiv_type __pyx_v_5renpy_3gl2_6uguugl_glGetShaderiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetString_type __pyx_v_5renpy_3gl2_6uguugl_glGetString;
static __pyx_t_5renpy_3gl2_6uguugl_glGetTexParameterfv_type __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameterfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetTexParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformLocation_type __pyx_v_5renpy_3gl2_6uguugl_glGetUniformLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformfv_type __pyx_v_5renpy_3gl2_6uguugl_glGetUniformfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformiv_type __pyx_v_5renpy_3gl2_6uguugl_glGetUniformiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv_type __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribfv_type __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribiv_type __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribiv;
static __pyx_t_5renpy_3gl2_6uguugl_glHint_type __pyx_v_5renpy_3gl2_6uguugl_glHint;
static __pyx_t_5renpy_3gl2_6uguugl_glIsBuffer_type __pyx_v_5renpy_3gl2_6uguugl_glIsBuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsEnabled_type __pyx_v_5renpy_3gl2_6uguugl_glIsEnabled;
static __pyx_t_5renpy_3gl2_6uguugl_glIsFramebuffer_type __pyx_v_5renpy_3gl2_6uguugl_glIsFramebuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsProgram_type __pyx_v_5renpy_3gl2_6uguugl_glIsProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glIsRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_glIsRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsShader_type __pyx_v_5renpy_3gl2_6uguugl_glIsShader;
static __pyx_t_5renpy_3gl2_6uguugl_glIsTexture_type __pyx_v_5renpy_3gl2_6uguugl_glIsTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glLineWidth_type __pyx_v_5renpy_3gl2_6uguugl_glLineWidth;
static __pyx_t_5renpy_3gl2_6uguugl_glLinkProgram_type __pyx_v_5renpy_3gl2_6uguugl_glLinkProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glPixelStorei_type __pyx_v_5renpy_3gl2_6uguugl_glPixelStorei;
static __pyx_t_5renpy_3gl2_6uguugl_glPolygonOffset_type __pyx_v_5renpy_3gl2_6uguugl_glPolygonOffset;
static __pyx_t_5renpy_3gl2_6uguugl_glReadPixels_type __pyx_v_5renpy_3gl2_6uguugl_glReadPixels;
static __pyx_t_5renpy_3gl2_6uguugl_glRenderbufferStorage_type __pyx_v_5renpy_3gl2_6uguugl_glRenderbufferStorage;
static __pyx_t_5renpy_3gl2_6uguugl_glSampleCoverage_type __pyx_v_5renpy_3gl2_6uguugl_glSampleCoverage;
static __pyx_t_5renpy_3gl2_6uguugl_glScissor_type __pyx_v_5renpy_3gl2_6uguugl_glScissor;
static __pyx_t_5renpy_3gl2_6uguugl_glShaderSource_type __pyx_v_5renpy_3gl2_6uguugl_glShaderSource;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilFunc_type __pyx_v_5renpy_3gl2_6uguugl_glStencilFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilFuncSeparate_type __pyx_v_5renpy_3gl2_6uguugl_glStencilFuncSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilMask_type __pyx_v_5renpy_3gl2_6uguugl_glStencilMask;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilMaskSeparate_type __pyx_v_5renpy_3gl2_6uguugl_glStencilMaskSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilOp_type __pyx_v_5renpy_3gl2_6uguugl_glStencilOp;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilOpSeparate_type __pyx_v_5renpy_3gl2_6uguugl_glStencilOpSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameterf_type __pyx_v_5renpy_3gl2_6uguugl_glTexParameterf;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameterfv_type __pyx_v_5renpy_3gl2_6uguugl_glTexParameterfv;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameteri_type __pyx_v_5renpy_3gl2_6uguugl_glTexParameteri;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_glTexParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_glTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1f_type __pyx_v_5renpy_3gl2_6uguugl_glUniform1f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform1fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1i_type __pyx_v_5renpy_3gl2_6uguugl_glUniform1i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1iv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform1iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2f_type __pyx_v_5renpy_3gl2_6uguugl_glUniform2f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2i_type __pyx_v_5renpy_3gl2_6uguugl_glUniform2i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2iv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform2iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3f_type __pyx_v_5renpy_3gl2_6uguugl_glUniform3f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3i_type __pyx_v_5renpy_3gl2_6uguugl_glUniform3i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3iv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform3iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4f_type __pyx_v_5renpy_3gl2_6uguugl_glUniform4f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4i_type __pyx_v_5renpy_3gl2_6uguugl_glUniform4i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4iv_type __pyx_v_5renpy_3gl2_6uguugl_glUniform4iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix2fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix3fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix4fv_type __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUseProgram_type __pyx_v_5renpy_3gl2_6uguugl_glUseProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glValidateProgram_type __pyx_v_5renpy_3gl2_6uguugl_glValidateProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1f_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1fv_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2f_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2fv_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3f_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3fv_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4f_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4fv_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttribPointer_type __pyx_v_5renpy_3gl2_6uguugl_glVertexAttribPointer;
static __pyx_t_5renpy_3gl2_6uguugl_glViewport_type __pyx_v_5renpy_3gl2_6uguugl_glViewport;
static char const *__pyx_v_5renpy_3gl2_6uguugl_error_function;
static GLenum __pyx_v_5renpy_3gl2_6uguugl_error_code;
static __pyx_t_5renpy_3gl2_6uguugl_glActiveTexture_type __pyx_v_5renpy_3gl2_6uguugl_real_glActiveTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glAttachShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glAttachShader;
static __pyx_t_5renpy_3gl2_6uguugl_glBindAttribLocation_type __pyx_v_5renpy_3gl2_6uguugl_real_glBindAttribLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glBindBuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glBindBuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindFramebuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glBindFramebuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glBindRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glBindTexture_type __pyx_v_5renpy_3gl2_6uguugl_real_glBindTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendColor_type __pyx_v_5renpy_3gl2_6uguugl_real_glBlendColor;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendEquation_type __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquation;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendEquationSeparate_type __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquationSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendFunc_type __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glBlendFuncSeparate_type __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFuncSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glBufferData_type __pyx_v_5renpy_3gl2_6uguugl_real_glBufferData;
static __pyx_t_5renpy_3gl2_6uguugl_glBufferSubData_type __pyx_v_5renpy_3gl2_6uguugl_real_glBufferSubData;
static __pyx_t_5renpy_3gl2_6uguugl_glCheckFramebufferStatus_type __pyx_v_5renpy_3gl2_6uguugl_real_glCheckFramebufferStatus;
static __pyx_t_5renpy_3gl2_6uguugl_glClear_type __pyx_v_5renpy_3gl2_6uguugl_real_glClear;
static __pyx_t_5renpy_3gl2_6uguugl_glClearColor_type __pyx_v_5renpy_3gl2_6uguugl_real_glClearColor;
static __pyx_t_5renpy_3gl2_6uguugl_glClearStencil_type __pyx_v_5renpy_3gl2_6uguugl_real_glClearStencil;
static __pyx_t_5renpy_3gl2_6uguugl_glColorMask_type __pyx_v_5renpy_3gl2_6uguugl_real_glColorMask;
static __pyx_t_5renpy_3gl2_6uguugl_glCompileShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glCompileShader;
static __pyx_t_5renpy_3gl2_6uguugl_glCompressedTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCopyTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCopyTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glCreateProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glCreateProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glCreateShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glCreateShader;
static __pyx_t_5renpy_3gl2_6uguugl_glCullFace_type __pyx_v_5renpy_3gl2_6uguugl_real_glCullFace;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteBuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteBuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteFramebuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteFramebuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteRenderbuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteRenderbuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteShader;
static __pyx_t_5renpy_3gl2_6uguugl_glDeleteTextures_type __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteTextures;
static __pyx_t_5renpy_3gl2_6uguugl_glDepthFunc_type __pyx_v_5renpy_3gl2_6uguugl_real_glDepthFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glDepthMask_type __pyx_v_5renpy_3gl2_6uguugl_real_glDepthMask;
static __pyx_t_5renpy_3gl2_6uguugl_glDetachShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glDetachShader;
static __pyx_t_5renpy_3gl2_6uguugl_glDisable_type __pyx_v_5renpy_3gl2_6uguugl_real_glDisable;
static __pyx_t_5renpy_3gl2_6uguugl_glDisableVertexAttribArray_type __pyx_v_5renpy_3gl2_6uguugl_real_glDisableVertexAttribArray;
static __pyx_t_5renpy_3gl2_6uguugl_glDrawArrays_type __pyx_v_5renpy_3gl2_6uguugl_real_glDrawArrays;
static __pyx_t_5renpy_3gl2_6uguugl_glDrawElements_type __pyx_v_5renpy_3gl2_6uguugl_real_glDrawElements;
static __pyx_t_5renpy_3gl2_6uguugl_glEnable_type __pyx_v_5renpy_3gl2_6uguugl_real_glEnable;
static __pyx_t_5renpy_3gl2_6uguugl_glEnableVertexAttribArray_type __pyx_v_5renpy_3gl2_6uguugl_real_glEnableVertexAttribArray;
static __pyx_t_5renpy_3gl2_6uguugl_glFinish_type __pyx_v_5renpy_3gl2_6uguugl_real_glFinish;
static __pyx_t_5renpy_3gl2_6uguugl_glFlush_type __pyx_v_5renpy_3gl2_6uguugl_real_glFlush;
static __pyx_t_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glFramebufferTexture2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferTexture2D;
static __pyx_t_5renpy_3gl2_6uguugl_glFrontFace_type __pyx_v_5renpy_3gl2_6uguugl_real_glFrontFace;
static __pyx_t_5renpy_3gl2_6uguugl_glGenBuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glGenBuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenFramebuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glGenFramebuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenRenderbuffers_type __pyx_v_5renpy_3gl2_6uguugl_real_glGenRenderbuffers;
static __pyx_t_5renpy_3gl2_6uguugl_glGenTextures_type __pyx_v_5renpy_3gl2_6uguugl_real_glGenTextures;
static __pyx_t_5renpy_3gl2_6uguugl_glGenerateMipmap_type __pyx_v_5renpy_3gl2_6uguugl_real_glGenerateMipmap;
static __pyx_t_5renpy_3gl2_6uguugl_glGetActiveAttrib_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveAttrib;
static __pyx_t_5renpy_3gl2_6uguugl_glGetActiveUniform_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveUniform;
static __pyx_t_5renpy_3gl2_6uguugl_glGetAttachedShaders_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttachedShaders;
static __pyx_t_5renpy_3gl2_6uguugl_glGetAttribLocation_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttribLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glGetBooleanv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetBooleanv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetBufferParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetBufferParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetError_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetError;
static __pyx_t_5renpy_3gl2_6uguugl_glGetFloatv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetFloatv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetFramebufferAttachmentParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetIntegerv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetIntegerv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetProgramInfoLog_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramInfoLog;
static __pyx_t_5renpy_3gl2_6uguugl_glGetProgramiv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetRenderbufferParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderInfoLog_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderInfoLog;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderSource_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderSource;
static __pyx_t_5renpy_3gl2_6uguugl_glGetShaderiv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetString_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetString;
static __pyx_t_5renpy_3gl2_6uguugl_glGetTexParameterfv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameterfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetTexParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformLocation_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformLocation;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformfv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetUniformiv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformiv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribPointerv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribfv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribfv;
static __pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribiv_type __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribiv;
static __pyx_t_5renpy_3gl2_6uguugl_glHint_type __pyx_v_5renpy_3gl2_6uguugl_real_glHint;
static __pyx_t_5renpy_3gl2_6uguugl_glIsBuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsBuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsEnabled_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsEnabled;
static __pyx_t_5renpy_3gl2_6uguugl_glIsFramebuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsFramebuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glIsRenderbuffer_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsRenderbuffer;
static __pyx_t_5renpy_3gl2_6uguugl_glIsShader_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsShader;
static __pyx_t_5renpy_3gl2_6uguugl_glIsTexture_type __pyx_v_5renpy_3gl2_6uguugl_real_glIsTexture;
static __pyx_t_5renpy_3gl2_6uguugl_glLineWidth_type __pyx_v_5renpy_3gl2_6uguugl_real_glLineWidth;
static __pyx_t_5renpy_3gl2_6uguugl_glLinkProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glLinkProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glPixelStorei_type __pyx_v_5renpy_3gl2_6uguugl_real_glPixelStorei;
static __pyx_t_5renpy_3gl2_6uguugl_glPolygonOffset_type __pyx_v_5renpy_3gl2_6uguugl_real_glPolygonOffset;
static __pyx_t_5renpy_3gl2_6uguugl_glReadPixels_type __pyx_v_5renpy_3gl2_6uguugl_real_glReadPixels;
static __pyx_t_5renpy_3gl2_6uguugl_glRenderbufferStorage_type __pyx_v_5renpy_3gl2_6uguugl_real_glRenderbufferStorage;
static __pyx_t_5renpy_3gl2_6uguugl_glSampleCoverage_type __pyx_v_5renpy_3gl2_6uguugl_real_glSampleCoverage;
static __pyx_t_5renpy_3gl2_6uguugl_glScissor_type __pyx_v_5renpy_3gl2_6uguugl_real_glScissor;
static __pyx_t_5renpy_3gl2_6uguugl_glShaderSource_type __pyx_v_5renpy_3gl2_6uguugl_real_glShaderSource;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilFunc_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFunc;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilFuncSeparate_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFuncSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilMask_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMask;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilMaskSeparate_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMaskSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilOp_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOp;
static __pyx_t_5renpy_3gl2_6uguugl_glStencilOpSeparate_type __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOpSeparate;
static __pyx_t_5renpy_3gl2_6uguugl_glTexImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameterf_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterf;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameterfv_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterfv;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameteri_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteri;
static __pyx_t_5renpy_3gl2_6uguugl_glTexParameteriv_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteriv;
static __pyx_t_5renpy_3gl2_6uguugl_glTexSubImage2D_type __pyx_v_5renpy_3gl2_6uguugl_real_glTexSubImage2D;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1f_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1i_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform1iv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2f_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2i_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform2iv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3f_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3i_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform3iv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4f_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4f;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4i_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4i;
static __pyx_t_5renpy_3gl2_6uguugl_glUniform4iv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4iv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix2fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix3fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix4fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glUseProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glUseProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glValidateProgram_type __pyx_v_5renpy_3gl2_6uguugl_real_glValidateProgram;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1f_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2f_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3f_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4f_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4f;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4fv_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4fv;
static __pyx_t_5renpy_3gl2_6uguugl_glVertexAttribPointer_type __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttribPointer;
static __pyx_t_5renpy_3gl2_6uguugl_glViewport_type __pyx_v_5renpy_3gl2_6uguugl_real_glViewport;
static void *__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(PyObject *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_error(char const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glActiveTexture(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glAttachShader(GLuint, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindAttribLocation(GLuint, GLuint, GLchar const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindBuffer(GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindFramebuffer(GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindRenderbuffer(GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindTexture(GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendColor(GLfloat, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquation(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquationSeparate(GLenum, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFunc(GLenum, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFuncSeparate(GLenum, GLenum, GLenum, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBufferData(GLenum, GLsizeiptr, void const *, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glBufferSubData(GLenum, GLintptr, GLsizeiptr, void const *); /*proto*/
static GLenum __pyx_f_5renpy_3gl2_6uguugl_check_glCheckFramebufferStatus(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glClear(GLbitfield); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glClearColor(GLfloat, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glClearStencil(GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glColorMask(GLboolean, GLboolean, GLboolean, GLboolean); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompileShader(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexImage2D(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexSubImage2D(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexImage2D(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexSubImage2D(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); /*proto*/
static GLuint __pyx_f_5renpy_3gl2_6uguugl_check_glCreateProgram(void); /*proto*/
static GLuint __pyx_f_5renpy_3gl2_6uguugl_check_glCreateShader(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glCullFace(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteBuffers(GLsizei, GLuint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteFramebuffers(GLsizei, GLuint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteProgram(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteRenderbuffers(GLsizei, GLuint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteShader(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteTextures(GLsizei, GLuint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDepthFunc(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDepthMask(GLboolean); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDetachShader(GLuint, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDisable(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDisableVertexAttribArray(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDrawArrays(GLenum, GLint, GLsizei); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glDrawElements(GLenum, GLsizei, GLenum, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glEnable(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glEnableVertexAttribArray(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glFinish(void); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glFlush(void); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferRenderbuffer(GLenum, GLenum, GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferTexture2D(GLenum, GLenum, GLenum, GLuint, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glFrontFace(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenBuffers(GLsizei, GLuint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenFramebuffers(GLsizei, GLuint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenRenderbuffers(GLsizei, GLuint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenTextures(GLsizei, GLuint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenerateMipmap(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveAttrib(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveUniform(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttachedShaders(GLuint, GLsizei, GLsizei *, GLuint *); /*proto*/
static GLint __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttribLocation(GLuint, GLchar const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetBooleanv(GLenum, GLboolean *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetBufferParameteriv(GLenum, GLenum, GLint *); /*proto*/
static GLenum __pyx_f_5renpy_3gl2_6uguugl_check_glGetError(void); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetFloatv(GLenum, GLfloat *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetFramebufferAttachmentParameteriv(GLenum, GLenum, GLenum, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetIntegerv(GLenum, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramInfoLog(GLuint, GLsizei, GLsizei *, GLchar *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramiv(GLuint, GLenum, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetRenderbufferParameteriv(GLenum, GLenum, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderInfoLog(GLuint, GLsizei, GLsizei *, GLchar *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderSource(GLuint, GLsizei, GLsizei *, GLchar *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderiv(GLuint, GLenum, GLint *); /*proto*/
static GLubyte const *__pyx_f_5renpy_3gl2_6uguugl_check_glGetString(GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameterfv(GLenum, GLenum, GLfloat *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameteriv(GLenum, GLenum, GLint *); /*proto*/
static GLint __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformLocation(GLuint, GLchar const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformfv(GLuint, GLint, GLfloat *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformiv(GLuint, GLint, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribPointerv(GLuint, GLenum, void **); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribfv(GLuint, GLenum, GLfloat *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribiv(GLuint, GLenum, GLint *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glHint(GLenum, GLenum); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsBuffer(GLuint); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsEnabled(GLenum); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsFramebuffer(GLuint); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsProgram(GLuint); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsRenderbuffer(GLuint); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsShader(GLuint); /*proto*/
static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsTexture(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glLineWidth(GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glLinkProgram(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glPixelStorei(GLenum, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glPolygonOffset(GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glReadPixels(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glRenderbufferStorage(GLenum, GLenum, GLsizei, GLsizei); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glSampleCoverage(GLfloat, GLboolean); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glScissor(GLint, GLint, GLsizei, GLsizei); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glShaderSource(GLuint, GLsizei, GLchar const *const *, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFunc(GLenum, GLint, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFuncSeparate(GLenum, GLenum, GLint, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMask(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMaskSeparate(GLenum, GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOp(GLenum, GLenum, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOpSeparate(GLenum, GLenum, GLenum, GLenum); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexImage2D(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterf(GLenum, GLenum, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterfv(GLenum, GLenum, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteri(GLenum, GLenum, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteriv(GLenum, GLenum, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexSubImage2D(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1f(GLint, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1fv(GLint, GLsizei, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1i(GLint, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1iv(GLint, GLsizei, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2f(GLint, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2fv(GLint, GLsizei, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2i(GLint, GLint, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2iv(GLint, GLsizei, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3f(GLint, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3fv(GLint, GLsizei, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3i(GLint, GLint, GLint, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3iv(GLint, GLsizei, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4f(GLint, GLfloat, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4fv(GLint, GLsizei, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4i(GLint, GLint, GLint, GLint, GLint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4iv(GLint, GLsizei, GLint const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix2fv(GLint, GLsizei, GLboolean, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix3fv(GLint, GLsizei, GLboolean, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix4fv(GLint, GLsizei, GLboolean, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glUseProgram(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glValidateProgram(GLuint); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1f(GLuint, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1fv(GLuint, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2f(GLuint, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2fv(GLuint, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3f(GLuint, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3fv(GLuint, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4f(GLuint, GLfloat, GLfloat, GLfloat, GLfloat); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4fv(GLuint, GLfloat const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttribPointer(GLuint, GLint, GLenum, GLboolean, GLsizei, void const *); /*proto*/
static void __pyx_f_5renpy_3gl2_6uguugl_check_glViewport(GLint, GLint, GLsizei, GLsizei); /*proto*/
#define __Pyx_MODULE_NAME "renpy.gl2.uguugl"
extern int __pyx_module_is_main_renpy__gl2__uguugl;
int __pyx_module_is_main_renpy__gl2__uguugl = 0;

/* Implementation of 'renpy.gl2.uguugl' */
static const char __pyx_k_load[] = "load";
static const char __pyx_k_main[] = "__main__";
static const char __pyx_k_test[] = "__test__";
static const char __pyx_k_format[] = "format";
static const char __pyx_k_glHint[] = "glHint";
static const char __pyx_k_glClear[] = "glClear";
static const char __pyx_k_glFlush[] = "glFlush";
static const char __pyx_k_glEnable[] = "glEnable";
static const char __pyx_k_glFinish[] = "glFinish";
static const char __pyx_k_pyx_capi[] = "__pyx_capi__";
static const char __pyx_k_get_error[] = "get_error";
static const char __pyx_k_glDisable[] = "glDisable";
static const char __pyx_k_glScissor[] = "glScissor";
static const char __pyx_k_not_found[] = "{} not found.";
static const char __pyx_k_glCullFace[] = "glCullFace";
static const char __pyx_k_glGetError[] = "glGetError";
static const char __pyx_k_glIsBuffer[] = "glIsBuffer";
static const char __pyx_k_glIsShader[] = "glIsShader";
static const char __pyx_k_glViewport[] = "glViewport";
static const char __pyx_k_glBlendFunc[] = "glBlendFunc";
static const char __pyx_k_glColorMask[] = "glColorMask";
static const char __pyx_k_glDepthFunc[] = "glDepthFunc";
static const char __pyx_k_glDepthMask[] = "glDepthMask";
static const char __pyx_k_glFrontFace[] = "glFrontFace";
static const char __pyx_k_glGetFloatv[] = "glGetFloatv";
static const char __pyx_k_glGetString[] = "glGetString";
static const char __pyx_k_glIsEnabled[] = "glIsEnabled";
static const char __pyx_k_glIsProgram[] = "glIsProgram";
static const char __pyx_k_glIsTexture[] = "glIsTexture";
static const char __pyx_k_glLineWidth[] = "glLineWidth";
static const char __pyx_k_glStencilOp[] = "glStencilOp";
static const char __pyx_k_glUniform1f[] = "glUniform1f";
static const char __pyx_k_glUniform1i[] = "glUniform1i";
static const char __pyx_k_glUniform2f[] = "glUniform2f";
static const char __pyx_k_glUniform2i[] = "glUniform2i";
static const char __pyx_k_glUniform3f[] = "glUniform3f";
static const char __pyx_k_glUniform3i[] = "glUniform3i";
static const char __pyx_k_glUniform4f[] = "glUniform4f";
static const char __pyx_k_glUniform4i[] = "glUniform4i";
static const char __pyx_k_reset_error[] = "reset_error";
static const char __pyx_k_glBindBuffer[] = "glBindBuffer";
static const char __pyx_k_glBlendColor[] = "glBlendColor";
static const char __pyx_k_glBufferData[] = "glBufferData";
static const char __pyx_k_glClearColor[] = "glClearColor";
static const char __pyx_k_glDrawArrays[] = "glDrawArrays";
static const char __pyx_k_glGenBuffers[] = "glGenBuffers";
static const char __pyx_k_glReadPixels[] = "glReadPixels";
static const char __pyx_k_glTexImage2D[] = "glTexImage2D";
static const char __pyx_k_glUniform1fv[] = "glUniform1fv";
static const char __pyx_k_glUniform1iv[] = "glUniform1iv";
static const char __pyx_k_glUniform2fv[] = "glUniform2fv";
static const char __pyx_k_glUniform2iv[] = "glUniform2iv";
static const char __pyx_k_glUniform3fv[] = "glUniform3fv";
static const char __pyx_k_glUniform3iv[] = "glUniform3iv";
static const char __pyx_k_glUniform4fv[] = "glUniform4fv";
static const char __pyx_k_glUniform4iv[] = "glUniform4iv";
static const char __pyx_k_glUseProgram[] = "glUseProgram";
static const char __pyx_k_glBindTexture[] = "glBindTexture";
static const char __pyx_k_glGenTextures[] = "glGenTextures";
static const char __pyx_k_glGetBooleanv[] = "glGetBooleanv";
static const char __pyx_k_glGetIntegerv[] = "glGetIntegerv";
static const char __pyx_k_glGetShaderiv[] = "glGetShaderiv";
static const char __pyx_k_glIsBufferARB[] = "glIsBufferARB";
static const char __pyx_k_glLinkProgram[] = "glLinkProgram";
static const char __pyx_k_glPixelStorei[] = "glPixelStorei";
static const char __pyx_k_glStencilFunc[] = "glStencilFunc";
static const char __pyx_k_glStencilMask[] = "glStencilMask";
static const char __pyx_k_glAttachShader[] = "glAttachShader";
static const char __pyx_k_glClearStencil[] = "glClearStencil";
static const char __pyx_k_glCreateShader[] = "glCreateShader";
static const char __pyx_k_glDeleteShader[] = "glDeleteShader";
static const char __pyx_k_glDetachShader[] = "glDetachShader";
static const char __pyx_k_glDrawElements[] = "glDrawElements";
static const char __pyx_k_glGetProgramiv[] = "glGetProgramiv";
static const char __pyx_k_glGetUniformfv[] = "glGetUniformfv";
static const char __pyx_k_glGetUniformiv[] = "glGetUniformiv";
static const char __pyx_k_glShaderSource[] = "glShaderSource";
static const char __pyx_k_glUniform1fARB[] = "glUniform1fARB";
static const char __pyx_k_glUniform1iARB[] = "glUniform1iARB";
static const char __pyx_k_glUniform2fARB[] = "glUniform2fARB";
static const char __pyx_k_glUniform2iARB[] = "glUniform2iARB";
static const char __pyx_k_glUniform3fARB[] = "glUniform3fARB";
static const char __pyx_k_glUniform3iARB[] = "glUniform3iARB";
static const char __pyx_k_glUniform4fARB[] = "glUniform4fARB";
static const char __pyx_k_glUniform4iARB[] = "glUniform4iARB";
static const char __pyx_k_glActiveTexture[] = "glActiveTexture";
static const char __pyx_k_glBindBufferARB[] = "glBindBufferARB";
static const char __pyx_k_glBlendColorEXT[] = "glBlendColorEXT";
static const char __pyx_k_glBlendEquation[] = "glBlendEquation";
static const char __pyx_k_glBufferDataARB[] = "glBufferDataARB";
static const char __pyx_k_glBufferSubData[] = "glBufferSubData";
static const char __pyx_k_glCompileShader[] = "glCompileShader";
static const char __pyx_k_glCreateProgram[] = "glCreateProgram";
static const char __pyx_k_glDeleteBuffers[] = "glDeleteBuffers";
static const char __pyx_k_glDeleteProgram[] = "glDeleteProgram";
static const char __pyx_k_glDrawArraysEXT[] = "glDrawArraysEXT";
static const char __pyx_k_glGenBuffersARB[] = "glGenBuffersARB";
static const char __pyx_k_glIsFramebuffer[] = "glIsFramebuffer";
static const char __pyx_k_glPolygonOffset[] = "glPolygonOffset";
static const char __pyx_k_glTexParameterf[] = "glTexParameterf";
static const char __pyx_k_glTexParameteri[] = "glTexParameteri";
static const char __pyx_k_glTexSubImage2D[] = "glTexSubImage2D";
static const char __pyx_k_glUniform1fvARB[] = "glUniform1fvARB";
static const char __pyx_k_glUniform1ivARB[] = "glUniform1ivARB";
static const char __pyx_k_glUniform2fvARB[] = "glUniform2fvARB";
static const char __pyx_k_glUniform2ivARB[] = "glUniform2ivARB";
static const char __pyx_k_glUniform3fvARB[] = "glUniform3fvARB";
static const char __pyx_k_glUniform3ivARB[] = "glUniform3ivARB";
static const char __pyx_k_glUniform4fvARB[] = "glUniform4fvARB";
static const char __pyx_k_glUniform4ivARB[] = "glUniform4ivARB";
static const char __pyx_k_glBindTextureEXT[] = "glBindTextureEXT";
static const char __pyx_k_glCopyTexImage2D[] = "glCopyTexImage2D";
static const char __pyx_k_glDeleteTextures[] = "glDeleteTextures";
static const char __pyx_k_glGenerateMipmap[] = "glGenerateMipmap";
static const char __pyx_k_glIsRenderbuffer[] = "glIsRenderbuffer";
static const char __pyx_k_glLinkProgramARB[] = "glLinkProgramARB";
static const char __pyx_k_glSampleCoverage[] = "glSampleCoverage";
static const char __pyx_k_glTexParameterfv[] = "glTexParameterfv";
static const char __pyx_k_glTexParameteriv[] = "glTexParameteriv";
static const char __pyx_k_glVertexAttrib1f[] = "glVertexAttrib1f";
static const char __pyx_k_glVertexAttrib2f[] = "glVertexAttrib2f";
static const char __pyx_k_glVertexAttrib3f[] = "glVertexAttrib3f";
static const char __pyx_k_glVertexAttrib4f[] = "glVertexAttrib4f";
static const char __pyx_k_renpy_gl2_uguugl[] = "renpy.gl2.uguugl";
static const char __pyx_k_glBindFramebuffer[] = "glBindFramebuffer";
static const char __pyx_k_glGenFramebuffers[] = "glGenFramebuffers";
static const char __pyx_k_glGetActiveAttrib[] = "glGetActiveAttrib";
static const char __pyx_k_glGetShaderSource[] = "glGetShaderSource";
static const char __pyx_k_glGetUniformfvARB[] = "glGetUniformfvARB";
static const char __pyx_k_glGetUniformivARB[] = "glGetUniformivARB";
static const char __pyx_k_glShaderSourceARB[] = "glShaderSourceARB";
static const char __pyx_k_glValidateProgram[] = "glValidateProgram";
static const char __pyx_k_glVertexAttrib1fv[] = "glVertexAttrib1fv";
static const char __pyx_k_glVertexAttrib2fv[] = "glVertexAttrib2fv";
static const char __pyx_k_glVertexAttrib3fv[] = "glVertexAttrib3fv";
static const char __pyx_k_glVertexAttrib4fv[] = "glVertexAttrib4fv";
static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
static const char __pyx_k_enable_check_error[] = "enable_check_error";
static const char __pyx_k_glActiveTextureARB[] = "glActiveTextureARB";
static const char __pyx_k_glBindRenderbuffer[] = "glBindRenderbuffer";
static const char __pyx_k_glBlendEquationEXT[] = "glBlendEquationEXT";
static const char __pyx_k_glBufferSubDataARB[] = "glBufferSubDataARB";
static const char __pyx_k_glCompileShaderARB[] = "glCompileShaderARB";
static const char __pyx_k_glDeleteBuffersARB[] = "glDeleteBuffersARB";
static const char __pyx_k_glGenRenderbuffers[] = "glGenRenderbuffers";
static const char __pyx_k_glGetActiveUniform[] = "glGetActiveUniform";
static const char __pyx_k_glGetShaderInfoLog[] = "glGetShaderInfoLog";
static const char __pyx_k_glIsFramebufferEXT[] = "glIsFramebufferEXT";
static const char __pyx_k_glTexSubImage2DEXT[] = "glTexSubImage2DEXT";
static const char __pyx_k_glUniformMatrix2fv[] = "glUniformMatrix2fv";
static const char __pyx_k_glUniformMatrix3fv[] = "glUniformMatrix3fv";
static const char __pyx_k_glUniformMatrix4fv[] = "glUniformMatrix4fv";
static const char __pyx_k_glVertexAttrib1fNV[] = "glVertexAttrib1fNV";
static const char __pyx_k_glVertexAttrib2fNV[] = "glVertexAttrib2fNV";
static const char __pyx_k_glVertexAttrib3fNV[] = "glVertexAttrib3fNV";
static const char __pyx_k_glVertexAttrib4fNV[] = "glVertexAttrib4fNV";
static const char __pyx_k_glBlendFuncSeparate[] = "glBlendFuncSeparate";
static const char __pyx_k_glCopyTexImage2DEXT[] = "glCopyTexImage2DEXT";
static const char __pyx_k_glCopyTexSubImage2D[] = "glCopyTexSubImage2D";
static const char __pyx_k_glGenerateMipmapEXT[] = "glGenerateMipmapEXT";
static const char __pyx_k_glGetAttribLocation[] = "glGetAttribLocation";
static const char __pyx_k_glGetProgramInfoLog[] = "glGetProgramInfoLog";
static const char __pyx_k_glGetTexParameterfv[] = "glGetTexParameterfv";
static const char __pyx_k_glGetTexParameteriv[] = "glGetTexParameteriv";
static const char __pyx_k_glGetVertexAttribfv[] = "glGetVertexAttribfv";
static const char __pyx_k_glGetVertexAttribiv[] = "glGetVertexAttribiv";
static const char __pyx_k_glIsRenderbufferEXT[] = "glIsRenderbufferEXT";
static const char __pyx_k_glSampleCoverageARB[] = "glSampleCoverageARB";
static const char __pyx_k_glStencilOpSeparate[] = "glStencilOpSeparate";
static const char __pyx_k_glVertexAttrib1fARB[] = "glVertexAttrib1fARB";
static const char __pyx_k_glVertexAttrib1fvNV[] = "glVertexAttrib1fvNV";
static const char __pyx_k_glVertexAttrib2fARB[] = "glVertexAttrib2fARB";
static const char __pyx_k_glVertexAttrib2fvNV[] = "glVertexAttrib2fvNV";
static const char __pyx_k_glVertexAttrib3fARB[] = "glVertexAttrib3fARB";
static const char __pyx_k_glVertexAttrib3fvNV[] = "glVertexAttrib3fvNV";
static const char __pyx_k_glVertexAttrib4fARB[] = "glVertexAttrib4fARB";
static const char __pyx_k_glVertexAttrib4fvNV[] = "glVertexAttrib4fvNV";
static const char __pyx_k_glBindAttribLocation[] = "glBindAttribLocation";
static const char __pyx_k_glDeleteFramebuffers[] = "glDeleteFramebuffers";
static const char __pyx_k_glGenFramebuffersEXT[] = "glGenFramebuffersEXT";
static const char __pyx_k_glGetActiveAttribARB[] = "glGetActiveAttribARB";
static const char __pyx_k_glGetAttachedShaders[] = "glGetAttachedShaders";
static const char __pyx_k_glGetShaderSourceARB[] = "glGetShaderSourceARB";
static const char __pyx_k_glGetUniformLocation[] = "glGetUniformLocation";
static const char __pyx_k_glValidateProgramARB[] = "glValidateProgramARB";
static const char __pyx_k_glVertexAttrib1fvARB[] = "glVertexAttrib1fvARB";
static const char __pyx_k_glVertexAttrib2fvARB[] = "glVertexAttrib2fvARB";
static const char __pyx_k_glVertexAttrib3fvARB[] = "glVertexAttrib3fvARB";
static const char __pyx_k_glVertexAttrib4fvARB[] = "glVertexAttrib4fvARB";
static const char __pyx_k_glDeleteRenderbuffers[] = "glDeleteRenderbuffers";
static const char __pyx_k_glGenRenderbuffersEXT[] = "glGenRenderbuffersEXT";
static const char __pyx_k_glGetActiveUniformARB[] = "glGetActiveUniformARB";
static const char __pyx_k_glGetVertexAttribfvNV[] = "glGetVertexAttribfvNV";
static const char __pyx_k_glGetVertexAttribivNV[] = "glGetVertexAttribivNV";
static const char __pyx_k_glRenderbufferStorage[] = "glRenderbufferStorage";
static const char __pyx_k_glStencilFuncSeparate[] = "glStencilFuncSeparate";
static const char __pyx_k_glStencilMaskSeparate[] = "glStencilMaskSeparate";
static const char __pyx_k_glUniformMatrix2fvARB[] = "glUniformMatrix2fvARB";
static const char __pyx_k_glUniformMatrix3fvARB[] = "glUniformMatrix3fvARB";
static const char __pyx_k_glUniformMatrix4fvARB[] = "glUniformMatrix4fvARB";
static const char __pyx_k_glUseProgramObjectARB[] = "glUseProgramObjectARB";
static const char __pyx_k_glVertexAttribPointer[] = "glVertexAttribPointer";
static const char __pyx_k_glBlendFuncSeparateEXT[] = "glBlendFuncSeparateEXT";
static const char __pyx_k_glCompressedTexImage2D[] = "glCompressedTexImage2D";
static const char __pyx_k_glCopyTexSubImage2DEXT[] = "glCopyTexSubImage2DEXT";
static const char __pyx_k_glFramebufferTexture2D[] = "glFramebufferTexture2D";
static const char __pyx_k_glGetAttribLocationARB[] = "glGetAttribLocationARB";
static const char __pyx_k_glGetBufferParameteriv[] = "glGetBufferParameteriv";
static const char __pyx_k_glGetVertexAttribfvARB[] = "glGetVertexAttribfvARB";
static const char __pyx_k_glGetVertexAttribivARB[] = "glGetVertexAttribivARB";
static const char __pyx_k_glStencilOpSeparateATI[] = "glStencilOpSeparateATI";
static const char __pyx_k_glBindAttribLocationARB[] = "glBindAttribLocationARB";
static const char __pyx_k_glBlendEquationSeparate[] = "glBlendEquationSeparate";
static const char __pyx_k_glBlendFuncSeparateINGR[] = "glBlendFuncSeparateINGR";
static const char __pyx_k_glCreateShaderObjectARB[] = "glCreateShaderObjectARB";
static const char __pyx_k_glDeleteFramebuffersEXT[] = "glDeleteFramebuffersEXT";
static const char __pyx_k_glGetUniformLocationARB[] = "glGetUniformLocationARB";
static const char __pyx_k_glCheckFramebufferStatus[] = "glCheckFramebufferStatus";
static const char __pyx_k_glCreateProgramObjectARB[] = "glCreateProgramObjectARB";
static const char __pyx_k_glDeleteRenderbuffersEXT[] = "glDeleteRenderbuffersEXT";
static const char __pyx_k_glRenderbufferStorageEXT[] = "glRenderbufferStorageEXT";
static const char __pyx_k_glVertexAttribPointerARB[] = "glVertexAttribPointerARB";
static const char __pyx_k_glCompressedTexImage2DARB[] = "glCompressedTexImage2DARB";
static const char __pyx_k_glCompressedTexSubImage2D[] = "glCompressedTexSubImage2D";
static const char __pyx_k_glEnableVertexAttribArray[] = "glEnableVertexAttribArray";
static const char __pyx_k_glFramebufferRenderbuffer[] = "glFramebufferRenderbuffer";
static const char __pyx_k_glFramebufferTexture2DEXT[] = "glFramebufferTexture2DEXT";
static const char __pyx_k_glGetBufferParameterivARB[] = "glGetBufferParameterivARB";
static const char __pyx_k_glGetVertexAttribPointerv[] = "glGetVertexAttribPointerv";
static const char __pyx_k_glBlendEquationSeparateEXT[] = "glBlendEquationSeparateEXT";
static const char __pyx_k_glDisableVertexAttribArray[] = "glDisableVertexAttribArray";
static const char __pyx_k_glCheckFramebufferStatusEXT[] = "glCheckFramebufferStatusEXT";
static const char __pyx_k_glGetVertexAttribPointervNV[] = "glGetVertexAttribPointervNV";
static const char __pyx_k_glCompressedTexSubImage2DARB[] = "glCompressedTexSubImage2DARB";
static const char __pyx_k_glEnableVertexAttribArrayARB[] = "glEnableVertexAttribArrayARB";
static const char __pyx_k_glFramebufferRenderbufferEXT[] = "glFramebufferRenderbufferEXT";
static const char __pyx_k_glGetRenderbufferParameteriv[] = "glGetRenderbufferParameteriv";
static const char __pyx_k_glGetVertexAttribPointervARB[] = "glGetVertexAttribPointervARB";
static const char __pyx_k_glDisableVertexAttribArrayARB[] = "glDisableVertexAttribArrayARB";
static const char __pyx_k_glGetRenderbufferParameterivEXT[] = "glGetRenderbufferParameterivEXT";
static const char __pyx_k_home_tom_ab_renpy_renpy_gl2_ugu[] = "/home/tom/ab/renpy/renpy/gl2/uguugl.pyx";
static const char __pyx_k_glGetFramebufferAttachmentParame[] = "glGetFramebufferAttachmentParameteriv";
static const char __pyx_k_glGetFramebufferAttachmentParame_2[] = "glGetFramebufferAttachmentParameterivEXT";
static PyObject *__pyx_n_s_cline_in_traceback;
static PyObject *__pyx_n_s_enable_check_error;
static PyObject *__pyx_n_s_format;
static PyObject *__pyx_n_s_get_error;
static PyObject *__pyx_n_b_glActiveTexture;
static PyObject *__pyx_n_s_glActiveTexture;
static PyObject *__pyx_n_b_glActiveTextureARB;
static PyObject *__pyx_n_b_glAttachShader;
static PyObject *__pyx_n_s_glAttachShader;
static PyObject *__pyx_n_b_glBindAttribLocation;
static PyObject *__pyx_n_s_glBindAttribLocation;
static PyObject *__pyx_n_b_glBindAttribLocationARB;
static PyObject *__pyx_n_b_glBindBuffer;
static PyObject *__pyx_n_s_glBindBuffer;
static PyObject *__pyx_n_b_glBindBufferARB;
static PyObject *__pyx_n_b_glBindFramebuffer;
static PyObject *__pyx_n_s_glBindFramebuffer;
static PyObject *__pyx_n_b_glBindRenderbuffer;
static PyObject *__pyx_n_s_glBindRenderbuffer;
static PyObject *__pyx_n_b_glBindTexture;
static PyObject *__pyx_n_s_glBindTexture;
static PyObject *__pyx_n_b_glBindTextureEXT;
static PyObject *__pyx_n_b_glBlendColor;
static PyObject *__pyx_n_s_glBlendColor;
static PyObject *__pyx_n_b_glBlendColorEXT;
static PyObject *__pyx_n_b_glBlendEquation;
static PyObject *__pyx_n_s_glBlendEquation;
static PyObject *__pyx_n_b_glBlendEquationEXT;
static PyObject *__pyx_n_b_glBlendEquationSeparate;
static PyObject *__pyx_n_s_glBlendEquationSeparate;
static PyObject *__pyx_n_b_glBlendEquationSeparateEXT;
static PyObject *__pyx_n_b_glBlendFunc;
static PyObject *__pyx_n_s_glBlendFunc;
static PyObject *__pyx_n_b_glBlendFuncSeparate;
static PyObject *__pyx_n_s_glBlendFuncSeparate;
static PyObject *__pyx_n_b_glBlendFuncSeparateEXT;
static PyObject *__pyx_n_b_glBlendFuncSeparateINGR;
static PyObject *__pyx_n_b_glBufferData;
static PyObject *__pyx_n_s_glBufferData;
static PyObject *__pyx_n_b_glBufferDataARB;
static PyObject *__pyx_n_b_glBufferSubData;
static PyObject *__pyx_n_s_glBufferSubData;
static PyObject *__pyx_n_b_glBufferSubDataARB;
static PyObject *__pyx_n_b_glCheckFramebufferStatus;
static PyObject *__pyx_n_s_glCheckFramebufferStatus;
static PyObject *__pyx_n_b_glCheckFramebufferStatusEXT;
static PyObject *__pyx_n_b_glClear;
static PyObject *__pyx_n_s_glClear;
static PyObject *__pyx_n_b_glClearColor;
static PyObject *__pyx_n_s_glClearColor;
static PyObject *__pyx_n_b_glClearStencil;
static PyObject *__pyx_n_s_glClearStencil;
static PyObject *__pyx_n_b_glColorMask;
static PyObject *__pyx_n_s_glColorMask;
static PyObject *__pyx_n_b_glCompileShader;
static PyObject *__pyx_n_s_glCompileShader;
static PyObject *__pyx_n_b_glCompileShaderARB;
static PyObject *__pyx_n_b_glCompressedTexImage2D;
static PyObject *__pyx_n_s_glCompressedTexImage2D;
static PyObject *__pyx_n_b_glCompressedTexImage2DARB;
static PyObject *__pyx_n_b_glCompressedTexSubImage2D;
static PyObject *__pyx_n_s_glCompressedTexSubImage2D;
static PyObject *__pyx_n_b_glCompressedTexSubImage2DARB;
static PyObject *__pyx_n_b_glCopyTexImage2D;
static PyObject *__pyx_n_s_glCopyTexImage2D;
static PyObject *__pyx_n_b_glCopyTexImage2DEXT;
static PyObject *__pyx_n_b_glCopyTexSubImage2D;
static PyObject *__pyx_n_s_glCopyTexSubImage2D;
static PyObject *__pyx_n_b_glCopyTexSubImage2DEXT;
static PyObject *__pyx_n_b_glCreateProgram;
static PyObject *__pyx_n_s_glCreateProgram;
static PyObject *__pyx_n_b_glCreateProgramObjectARB;
static PyObject *__pyx_n_b_glCreateShader;
static PyObject *__pyx_n_s_glCreateShader;
static PyObject *__pyx_n_b_glCreateShaderObjectARB;
static PyObject *__pyx_n_b_glCullFace;
static PyObject *__pyx_n_s_glCullFace;
static PyObject *__pyx_n_b_glDeleteBuffers;
static PyObject *__pyx_n_s_glDeleteBuffers;
static PyObject *__pyx_n_b_glDeleteBuffersARB;
static PyObject *__pyx_n_b_glDeleteFramebuffers;
static PyObject *__pyx_n_s_glDeleteFramebuffers;
static PyObject *__pyx_n_b_glDeleteFramebuffersEXT;
static PyObject *__pyx_n_b_glDeleteProgram;
static PyObject *__pyx_n_s_glDeleteProgram;
static PyObject *__pyx_n_b_glDeleteRenderbuffers;
static PyObject *__pyx_n_s_glDeleteRenderbuffers;
static PyObject *__pyx_n_b_glDeleteRenderbuffersEXT;
static PyObject *__pyx_n_b_glDeleteShader;
static PyObject *__pyx_n_s_glDeleteShader;
static PyObject *__pyx_n_b_glDeleteTextures;
static PyObject *__pyx_n_s_glDeleteTextures;
static PyObject *__pyx_n_b_glDepthFunc;
static PyObject *__pyx_n_s_glDepthFunc;
static PyObject *__pyx_n_b_glDepthMask;
static PyObject *__pyx_n_s_glDepthMask;
static PyObject *__pyx_n_b_glDetachShader;
static PyObject *__pyx_n_s_glDetachShader;
static PyObject *__pyx_n_b_glDisable;
static PyObject *__pyx_n_s_glDisable;
static PyObject *__pyx_n_b_glDisableVertexAttribArray;
static PyObject *__pyx_n_s_glDisableVertexAttribArray;
static PyObject *__pyx_n_b_glDisableVertexAttribArrayARB;
static PyObject *__pyx_n_b_glDrawArrays;
static PyObject *__pyx_n_s_glDrawArrays;
static PyObject *__pyx_n_b_glDrawArraysEXT;
static PyObject *__pyx_n_b_glDrawElements;
static PyObject *__pyx_n_s_glDrawElements;
static PyObject *__pyx_n_b_glEnable;
static PyObject *__pyx_n_s_glEnable;
static PyObject *__pyx_n_b_glEnableVertexAttribArray;
static PyObject *__pyx_n_s_glEnableVertexAttribArray;
static PyObject *__pyx_n_b_glEnableVertexAttribArrayARB;
static PyObject *__pyx_n_b_glFinish;
static PyObject *__pyx_n_s_glFinish;
static PyObject *__pyx_n_b_glFlush;
static PyObject *__pyx_n_s_glFlush;
static PyObject *__pyx_n_b_glFramebufferRenderbuffer;
static PyObject *__pyx_n_s_glFramebufferRenderbuffer;
static PyObject *__pyx_n_b_glFramebufferRenderbufferEXT;
static PyObject *__pyx_n_b_glFramebufferTexture2D;
static PyObject *__pyx_n_s_glFramebufferTexture2D;
static PyObject *__pyx_n_b_glFramebufferTexture2DEXT;
static PyObject *__pyx_n_b_glFrontFace;
static PyObject *__pyx_n_s_glFrontFace;
static PyObject *__pyx_n_b_glGenBuffers;
static PyObject *__pyx_n_s_glGenBuffers;
static PyObject *__pyx_n_b_glGenBuffersARB;
static PyObject *__pyx_n_b_glGenFramebuffers;
static PyObject *__pyx_n_s_glGenFramebuffers;
static PyObject *__pyx_n_b_glGenFramebuffersEXT;
static PyObject *__pyx_n_b_glGenRenderbuffers;
static PyObject *__pyx_n_s_glGenRenderbuffers;
static PyObject *__pyx_n_b_glGenRenderbuffersEXT;
static PyObject *__pyx_n_b_glGenTextures;
static PyObject *__pyx_n_s_glGenTextures;
static PyObject *__pyx_n_b_glGenerateMipmap;
static PyObject *__pyx_n_s_glGenerateMipmap;
static PyObject *__pyx_n_b_glGenerateMipmapEXT;
static PyObject *__pyx_n_b_glGetActiveAttrib;
static PyObject *__pyx_n_s_glGetActiveAttrib;
static PyObject *__pyx_n_b_glGetActiveAttribARB;
static PyObject *__pyx_n_b_glGetActiveUniform;
static PyObject *__pyx_n_s_glGetActiveUniform;
static PyObject *__pyx_n_b_glGetActiveUniformARB;
static PyObject *__pyx_n_b_glGetAttachedShaders;
static PyObject *__pyx_n_s_glGetAttachedShaders;
static PyObject *__pyx_n_b_glGetAttribLocation;
static PyObject *__pyx_n_s_glGetAttribLocation;
static PyObject *__pyx_n_b_glGetAttribLocationARB;
static PyObject *__pyx_n_b_glGetBooleanv;
static PyObject *__pyx_n_s_glGetBooleanv;
static PyObject *__pyx_n_b_glGetBufferParameteriv;
static PyObject *__pyx_n_s_glGetBufferParameteriv;
static PyObject *__pyx_n_b_glGetBufferParameterivARB;
static PyObject *__pyx_n_b_glGetError;
static PyObject *__pyx_n_s_glGetError;
static PyObject *__pyx_n_b_glGetFloatv;
static PyObject *__pyx_n_s_glGetFloatv;
static PyObject *__pyx_n_b_glGetFramebufferAttachmentParame;
static PyObject *__pyx_n_s_glGetFramebufferAttachmentParame;
static PyObject *__pyx_n_b_glGetFramebufferAttachmentParame_2;
static PyObject *__pyx_n_b_glGetIntegerv;
static PyObject *__pyx_n_s_glGetIntegerv;
static PyObject *__pyx_n_b_glGetProgramInfoLog;
static PyObject *__pyx_n_s_glGetProgramInfoLog;
static PyObject *__pyx_n_b_glGetProgramiv;
static PyObject *__pyx_n_s_glGetProgramiv;
static PyObject *__pyx_n_b_glGetRenderbufferParameteriv;
static PyObject *__pyx_n_s_glGetRenderbufferParameteriv;
static PyObject *__pyx_n_b_glGetRenderbufferParameterivEXT;
static PyObject *__pyx_n_b_glGetShaderInfoLog;
static PyObject *__pyx_n_s_glGetShaderInfoLog;
static PyObject *__pyx_n_b_glGetShaderSource;
static PyObject *__pyx_n_s_glGetShaderSource;
static PyObject *__pyx_n_b_glGetShaderSourceARB;
static PyObject *__pyx_n_b_glGetShaderiv;
static PyObject *__pyx_n_s_glGetShaderiv;
static PyObject *__pyx_n_b_glGetString;
static PyObject *__pyx_n_s_glGetString;
static PyObject *__pyx_n_b_glGetTexParameterfv;
static PyObject *__pyx_n_s_glGetTexParameterfv;
static PyObject *__pyx_n_b_glGetTexParameteriv;
static PyObject *__pyx_n_s_glGetTexParameteriv;
static PyObject *__pyx_n_b_glGetUniformLocation;
static PyObject *__pyx_n_s_glGetUniformLocation;
static PyObject *__pyx_n_b_glGetUniformLocationARB;
static PyObject *__pyx_n_b_glGetUniformfv;
static PyObject *__pyx_n_s_glGetUniformfv;
static PyObject *__pyx_n_b_glGetUniformfvARB;
static PyObject *__pyx_n_b_glGetUniformiv;
static PyObject *__pyx_n_s_glGetUniformiv;
static PyObject *__pyx_n_b_glGetUniformivARB;
static PyObject *__pyx_n_b_glGetVertexAttribPointerv;
static PyObject *__pyx_n_s_glGetVertexAttribPointerv;
static PyObject *__pyx_n_b_glGetVertexAttribPointervARB;
static PyObject *__pyx_n_b_glGetVertexAttribPointervNV;
static PyObject *__pyx_n_b_glGetVertexAttribfv;
static PyObject *__pyx_n_s_glGetVertexAttribfv;
static PyObject *__pyx_n_b_glGetVertexAttribfvARB;
static PyObject *__pyx_n_b_glGetVertexAttribfvNV;
static PyObject *__pyx_n_b_glGetVertexAttribiv;
static PyObject *__pyx_n_s_glGetVertexAttribiv;
static PyObject *__pyx_n_b_glGetVertexAttribivARB;
static PyObject *__pyx_n_b_glGetVertexAttribivNV;
static PyObject *__pyx_n_b_glHint;
static PyObject *__pyx_n_s_glHint;
static PyObject *__pyx_n_b_glIsBuffer;
static PyObject *__pyx_n_s_glIsBuffer;
static PyObject *__pyx_n_b_glIsBufferARB;
static PyObject *__pyx_n_b_glIsEnabled;
static PyObject *__pyx_n_s_glIsEnabled;
static PyObject *__pyx_n_b_glIsFramebuffer;
static PyObject *__pyx_n_s_glIsFramebuffer;
static PyObject *__pyx_n_b_glIsFramebufferEXT;
static PyObject *__pyx_n_b_glIsProgram;
static PyObject *__pyx_n_s_glIsProgram;
static PyObject *__pyx_n_b_glIsRenderbuffer;
static PyObject *__pyx_n_s_glIsRenderbuffer;
static PyObject *__pyx_n_b_glIsRenderbufferEXT;
static PyObject *__pyx_n_b_glIsShader;
static PyObject *__pyx_n_s_glIsShader;
static PyObject *__pyx_n_b_glIsTexture;
static PyObject *__pyx_n_s_glIsTexture;
static PyObject *__pyx_n_b_glLineWidth;
static PyObject *__pyx_n_s_glLineWidth;
static PyObject *__pyx_n_b_glLinkProgram;
static PyObject *__pyx_n_s_glLinkProgram;
static PyObject *__pyx_n_b_glLinkProgramARB;
static PyObject *__pyx_n_b_glPixelStorei;
static PyObject *__pyx_n_s_glPixelStorei;
static PyObject *__pyx_n_b_glPolygonOffset;
static PyObject *__pyx_n_s_glPolygonOffset;
static PyObject *__pyx_n_b_glReadPixels;
static PyObject *__pyx_n_s_glReadPixels;
static PyObject *__pyx_n_b_glRenderbufferStorage;
static PyObject *__pyx_n_s_glRenderbufferStorage;
static PyObject *__pyx_n_b_glRenderbufferStorageEXT;
static PyObject *__pyx_n_b_glSampleCoverage;
static PyObject *__pyx_n_s_glSampleCoverage;
static PyObject *__pyx_n_b_glSampleCoverageARB;
static PyObject *__pyx_n_b_glScissor;
static PyObject *__pyx_n_s_glScissor;
static PyObject *__pyx_n_b_glShaderSource;
static PyObject *__pyx_n_s_glShaderSource;
static PyObject *__pyx_n_b_glShaderSourceARB;
static PyObject *__pyx_n_b_glStencilFunc;
static PyObject *__pyx_n_s_glStencilFunc;
static PyObject *__pyx_n_b_glStencilFuncSeparate;
static PyObject *__pyx_n_s_glStencilFuncSeparate;
static PyObject *__pyx_n_b_glStencilMask;
static PyObject *__pyx_n_s_glStencilMask;
static PyObject *__pyx_n_b_glStencilMaskSeparate;
static PyObject *__pyx_n_s_glStencilMaskSeparate;
static PyObject *__pyx_n_b_glStencilOp;
static PyObject *__pyx_n_s_glStencilOp;
static PyObject *__pyx_n_b_glStencilOpSeparate;
static PyObject *__pyx_n_s_glStencilOpSeparate;
static PyObject *__pyx_n_b_glStencilOpSeparateATI;
static PyObject *__pyx_n_b_glTexImage2D;
static PyObject *__pyx_n_s_glTexImage2D;
static PyObject *__pyx_n_b_glTexParameterf;
static PyObject *__pyx_n_s_glTexParameterf;
static PyObject *__pyx_n_b_glTexParameterfv;
static PyObject *__pyx_n_s_glTexParameterfv;
static PyObject *__pyx_n_b_glTexParameteri;
static PyObject *__pyx_n_s_glTexParameteri;
static PyObject *__pyx_n_b_glTexParameteriv;
static PyObject *__pyx_n_s_glTexParameteriv;
static PyObject *__pyx_n_b_glTexSubImage2D;
static PyObject *__pyx_n_s_glTexSubImage2D;
static PyObject *__pyx_n_b_glTexSubImage2DEXT;
static PyObject *__pyx_n_b_glUniform1f;
static PyObject *__pyx_n_s_glUniform1f;
static PyObject *__pyx_n_b_glUniform1fARB;
static PyObject *__pyx_n_b_glUniform1fv;
static PyObject *__pyx_n_s_glUniform1fv;
static PyObject *__pyx_n_b_glUniform1fvARB;
static PyObject *__pyx_n_b_glUniform1i;
static PyObject *__pyx_n_s_glUniform1i;
static PyObject *__pyx_n_b_glUniform1iARB;
static PyObject *__pyx_n_b_glUniform1iv;
static PyObject *__pyx_n_s_glUniform1iv;
static PyObject *__pyx_n_b_glUniform1ivARB;
static PyObject *__pyx_n_b_glUniform2f;
static PyObject *__pyx_n_s_glUniform2f;
static PyObject *__pyx_n_b_glUniform2fARB;
static PyObject *__pyx_n_b_glUniform2fv;
static PyObject *__pyx_n_s_glUniform2fv;
static PyObject *__pyx_n_b_glUniform2fvARB;
static PyObject *__pyx_n_b_glUniform2i;
static PyObject *__pyx_n_s_glUniform2i;
static PyObject *__pyx_n_b_glUniform2iARB;
static PyObject *__pyx_n_b_glUniform2iv;
static PyObject *__pyx_n_s_glUniform2iv;
static PyObject *__pyx_n_b_glUniform2ivARB;
static PyObject *__pyx_n_b_glUniform3f;
static PyObject *__pyx_n_s_glUniform3f;
static PyObject *__pyx_n_b_glUniform3fARB;
static PyObject *__pyx_n_b_glUniform3fv;
static PyObject *__pyx_n_s_glUniform3fv;
static PyObject *__pyx_n_b_glUniform3fvARB;
static PyObject *__pyx_n_b_glUniform3i;
static PyObject *__pyx_n_s_glUniform3i;
static PyObject *__pyx_n_b_glUniform3iARB;
static PyObject *__pyx_n_b_glUniform3iv;
static PyObject *__pyx_n_s_glUniform3iv;
static PyObject *__pyx_n_b_glUniform3ivARB;
static PyObject *__pyx_n_b_glUniform4f;
static PyObject *__pyx_n_s_glUniform4f;
static PyObject *__pyx_n_b_glUniform4fARB;
static PyObject *__pyx_n_b_glUniform4fv;
static PyObject *__pyx_n_s_glUniform4fv;
static PyObject *__pyx_n_b_glUniform4fvARB;
static PyObject *__pyx_n_b_glUniform4i;
static PyObject *__pyx_n_s_glUniform4i;
static PyObject *__pyx_n_b_glUniform4iARB;
static PyObject *__pyx_n_b_glUniform4iv;
static PyObject *__pyx_n_s_glUniform4iv;
static PyObject *__pyx_n_b_glUniform4ivARB;
static PyObject *__pyx_n_b_glUniformMatrix2fv;
static PyObject *__pyx_n_s_glUniformMatrix2fv;
static PyObject *__pyx_n_b_glUniformMatrix2fvARB;
static PyObject *__pyx_n_b_glUniformMatrix3fv;
static PyObject *__pyx_n_s_glUniformMatrix3fv;
static PyObject *__pyx_n_b_glUniformMatrix3fvARB;
static PyObject *__pyx_n_b_glUniformMatrix4fv;
static PyObject *__pyx_n_s_glUniformMatrix4fv;
static PyObject *__pyx_n_b_glUniformMatrix4fvARB;
static PyObject *__pyx_n_b_glUseProgram;
static PyObject *__pyx_n_s_glUseProgram;
static PyObject *__pyx_n_b_glUseProgramObjectARB;
static PyObject *__pyx_n_b_glValidateProgram;
static PyObject *__pyx_n_s_glValidateProgram;
static PyObject *__pyx_n_b_glValidateProgramARB;
static PyObject *__pyx_n_b_glVertexAttrib1f;
static PyObject *__pyx_n_s_glVertexAttrib1f;
static PyObject *__pyx_n_b_glVertexAttrib1fARB;
static PyObject *__pyx_n_b_glVertexAttrib1fNV;
static PyObject *__pyx_n_b_glVertexAttrib1fv;
static PyObject *__pyx_n_s_glVertexAttrib1fv;
static PyObject *__pyx_n_b_glVertexAttrib1fvARB;
static PyObject *__pyx_n_b_glVertexAttrib1fvNV;
static PyObject *__pyx_n_b_glVertexAttrib2f;
static PyObject *__pyx_n_s_glVertexAttrib2f;
static PyObject *__pyx_n_b_glVertexAttrib2fARB;
static PyObject *__pyx_n_b_glVertexAttrib2fNV;
static PyObject *__pyx_n_b_glVertexAttrib2fv;
static PyObject *__pyx_n_s_glVertexAttrib2fv;
static PyObject *__pyx_n_b_glVertexAttrib2fvARB;
static PyObject *__pyx_n_b_glVertexAttrib2fvNV;
static PyObject *__pyx_n_b_glVertexAttrib3f;
static PyObject *__pyx_n_s_glVertexAttrib3f;
static PyObject *__pyx_n_b_glVertexAttrib3fARB;
static PyObject *__pyx_n_b_glVertexAttrib3fNV;
static PyObject *__pyx_n_b_glVertexAttrib3fv;
static PyObject *__pyx_n_s_glVertexAttrib3fv;
static PyObject *__pyx_n_b_glVertexAttrib3fvARB;
static PyObject *__pyx_n_b_glVertexAttrib3fvNV;
static PyObject *__pyx_n_b_glVertexAttrib4f;
static PyObject *__pyx_n_s_glVertexAttrib4f;
static PyObject *__pyx_n_b_glVertexAttrib4fARB;
static PyObject *__pyx_n_b_glVertexAttrib4fNV;
static PyObject *__pyx_n_b_glVertexAttrib4fv;
static PyObject *__pyx_n_s_glVertexAttrib4fv;
static PyObject *__pyx_n_b_glVertexAttrib4fvARB;
static PyObject *__pyx_n_b_glVertexAttrib4fvNV;
static PyObject *__pyx_n_b_glVertexAttribPointer;
static PyObject *__pyx_n_s_glVertexAttribPointer;
static PyObject *__pyx_n_b_glVertexAttribPointerARB;
static PyObject *__pyx_n_b_glViewport;
static PyObject *__pyx_n_s_glViewport;
static PyObject *__pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu;
static PyObject *__pyx_n_s_load;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_kp_s_not_found;
static PyObject *__pyx_n_s_pyx_capi;
static PyObject *__pyx_n_s_renpy_gl2_uguugl;
static PyObject *__pyx_n_s_reset_error;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_reset_error(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_2get_error(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_4load(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_6enable_check_error(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_codeobj_;
static PyObject *__pyx_codeobj__2;
static PyObject *__pyx_codeobj__3;
static PyObject *__pyx_codeobj__4;

/* "renpy/gl2/uguugl.pyx":3
 * from sdl2 cimport SDL_GL_GetProcAddress
 * 
 * cdef void *find_gl_command(names):             # <<<<<<<<<<<<<<
 * 
 *     cdef void *rv = NULL
 */

static void *__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(PyObject *__pyx_v_names) {
  void *__pyx_v_rv;
  PyObject *__pyx_v_i = NULL;
  void *__pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  PyObject *(*__pyx_t_3)(PyObject *);
  PyObject *__pyx_t_4 = NULL;
  char const *__pyx_t_5;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  __Pyx_RefNannySetupContext("find_gl_command", 0);

  /* "renpy/gl2/uguugl.pyx":5
 * cdef void *find_gl_command(names):
 * 
 *     cdef void *rv = NULL             # <<<<<<<<<<<<<<
 * 
 *     for i in names:
 */
  __pyx_v_rv = NULL;

  /* "renpy/gl2/uguugl.pyx":7
 *     cdef void *rv = NULL
 * 
 *     for i in names:             # <<<<<<<<<<<<<<
 *         rv = SDL_GL_GetProcAddress(i)
 * 
 */
  if (likely(PyList_CheckExact(__pyx_v_names)) || PyTuple_CheckExact(__pyx_v_names)) {
    __pyx_t_1 = __pyx_v_names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
    __pyx_t_3 = NULL;
  } else {
    __pyx_t_2 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_v_names); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 7, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_3 = Py_TYPE(__pyx_t_1)->tp_iternext; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7, __pyx_L1_error)
  }
  for (;;) {
    if (likely(!__pyx_t_3)) {
      if (likely(PyList_CheckExact(__pyx_t_1))) {
        if (__pyx_t_2 >= PyList_GET_SIZE(__pyx_t_1)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_4 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 7, __pyx_L1_error)
        #else
        __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 7, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_4);
        #endif
      } else {
        if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_4); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 7, __pyx_L1_error)
        #else
        __pyx_t_4 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 7, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_4);
        #endif
      }
    } else {
      __pyx_t_4 = __pyx_t_3(__pyx_t_1);
      if (unlikely(!__pyx_t_4)) {
        PyObject* exc_type = PyErr_Occurred();
        if (exc_type) {
          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
          else __PYX_ERR(0, 7, __pyx_L1_error)
        }
        break;
      }
      __Pyx_GOTREF(__pyx_t_4);
    }
    __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_4);
    __pyx_t_4 = 0;

    /* "renpy/gl2/uguugl.pyx":8
 * 
 *     for i in names:
 *         rv = SDL_GL_GetProcAddress(i)             # <<<<<<<<<<<<<<
 * 
 *         if rv != NULL:
 */
    __pyx_t_5 = __Pyx_PyObject_AsString(__pyx_v_i); if (unlikely((!__pyx_t_5) && PyErr_Occurred())) __PYX_ERR(0, 8, __pyx_L1_error)
    __pyx_v_rv = SDL_GL_GetProcAddress(__pyx_t_5);

    /* "renpy/gl2/uguugl.pyx":10
 *         rv = SDL_GL_GetProcAddress(i)
 * 
 *         if rv != NULL:             # <<<<<<<<<<<<<<
 *             return rv
 * 
 */
    __pyx_t_6 = ((__pyx_v_rv != NULL) != 0);
    if (__pyx_t_6) {

      /* "renpy/gl2/uguugl.pyx":11
 * 
 *         if rv != NULL:
 *             return rv             # <<<<<<<<<<<<<<
 * 
 *     raise Exception("{} not found.".format(names[0]))
 */
      __pyx_r = __pyx_v_rv;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L0;

      /* "renpy/gl2/uguugl.pyx":10
 *         rv = SDL_GL_GetProcAddress(i)
 * 
 *         if rv != NULL:             # <<<<<<<<<<<<<<
 *             return rv
 * 
 */
    }

    /* "renpy/gl2/uguugl.pyx":7
 *     cdef void *rv = NULL
 * 
 *     for i in names:             # <<<<<<<<<<<<<<
 *         rv = SDL_GL_GetProcAddress(i)
 * 
 */
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":13
 *             return rv
 * 
 *     raise Exception("{} not found.".format(names[0]))             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_kp_s_not_found, __pyx_n_s_format); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 13, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_names, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 13, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_8 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_4);
    if (likely(__pyx_t_8)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_8);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_4, function);
    }
  }
  if (!__pyx_t_8) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_7); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_1);
  } else {
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_7};
      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_7};
      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    } else
    #endif
    {
      __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 13, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __pyx_t_8 = NULL;
      __Pyx_GIVEREF(__pyx_t_7);
      PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_t_7);
      __pyx_t_7 = 0;
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 13, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
  __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])), __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 13, __pyx_L1_error)

  /* "renpy/gl2/uguugl.pyx":3
 * from sdl2 cimport SDL_GL_GetProcAddress
 * 
 * cdef void *find_gl_command(names):             # <<<<<<<<<<<<<<
 * 
 *     cdef void *rv = NULL
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_WriteUnraisable("renpy.gl2.uguugl.find_gl_command", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_i);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":19
 * cdef GLenum error_code
 * 
 * def reset_error():             # <<<<<<<<<<<<<<
 *     """
 *     Resets the
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_1reset_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static char __pyx_doc_5renpy_3gl2_6uguugl_reset_error[] = "\n    Resets the\n    ";
static PyMethodDef __pyx_mdef_5renpy_3gl2_6uguugl_1reset_error = {"reset_error", (PyCFunction)__pyx_pw_5renpy_3gl2_6uguugl_1reset_error, METH_NOARGS, __pyx_doc_5renpy_3gl2_6uguugl_reset_error};
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_1reset_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reset_error (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_3gl2_6uguugl_reset_error(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_reset_error(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reset_error", 0);

  /* "renpy/gl2/uguugl.pyx":25
 * 
 *     global error_function
 *     error_function = NULL             # <<<<<<<<<<<<<<
 * 
 *     global error_code
 */
  __pyx_v_5renpy_3gl2_6uguugl_error_function = NULL;

  /* "renpy/gl2/uguugl.pyx":28
 * 
 *     global error_code
 *     error_code = GL_NO_ERROR             # <<<<<<<<<<<<<<
 * 
 * reset_error()
 */
  __pyx_v_5renpy_3gl2_6uguugl_error_code = GL_NO_ERROR;

  /* "renpy/gl2/uguugl.pyx":19
 * cdef GLenum error_code
 * 
 * def reset_error():             # <<<<<<<<<<<<<<
 *     """
 *     Resets the
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":32
 * reset_error()
 * 
 * def get_error():             # <<<<<<<<<<<<<<
 * 
 *     if error_function != NULL:
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_3get_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_3gl2_6uguugl_3get_error = {"get_error", (PyCFunction)__pyx_pw_5renpy_3gl2_6uguugl_3get_error, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_3get_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_error (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_3gl2_6uguugl_2get_error(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_2get_error(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  __Pyx_RefNannySetupContext("get_error", 0);

  /* "renpy/gl2/uguugl.pyx":34
 * def get_error():
 * 
 *     if error_function != NULL:             # <<<<<<<<<<<<<<
 *         return error_function.decode("utf-8"), error_code
 *     else:
 */
  __pyx_t_1 = ((__pyx_v_5renpy_3gl2_6uguugl_error_function != NULL) != 0);
  if (__pyx_t_1) {

    /* "renpy/gl2/uguugl.pyx":35
 * 
 *     if error_function != NULL:
 *         return error_function.decode("utf-8"), error_code             # <<<<<<<<<<<<<<
 *     else:
 *         return None, GL_NO_ERROR
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_5renpy_3gl2_6uguugl_error_function, 0, strlen(__pyx_v_5renpy_3gl2_6uguugl_error_function), NULL, NULL, PyUnicode_DecodeUTF8); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 35, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __Pyx_PyInt_From_GLenum(__pyx_v_5renpy_3gl2_6uguugl_error_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 35, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 35, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_GIVEREF(__pyx_t_2);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
    __Pyx_GIVEREF(__pyx_t_3);
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3);
    __pyx_t_2 = 0;
    __pyx_t_3 = 0;
    __pyx_r = __pyx_t_4;
    __pyx_t_4 = 0;
    goto __pyx_L0;

    /* "renpy/gl2/uguugl.pyx":34
 * def get_error():
 * 
 *     if error_function != NULL:             # <<<<<<<<<<<<<<
 *         return error_function.decode("utf-8"), error_code
 *     else:
 */
  }

  /* "renpy/gl2/uguugl.pyx":37
 *         return error_function.decode("utf-8"), error_code
 *     else:
 *         return None, GL_NO_ERROR             # <<<<<<<<<<<<<<
 * 
 * 
 */
  /*else*/ {
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_4 = __Pyx_PyInt_From_GLenum(GL_NO_ERROR); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 37, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 37, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(Py_None);
    __Pyx_GIVEREF(Py_None);
    PyTuple_SET_ITEM(__pyx_t_3, 0, Py_None);
    __Pyx_GIVEREF(__pyx_t_4);
    PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_4);
    __pyx_t_4 = 0;
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;
  }

  /* "renpy/gl2/uguugl.pyx":32
 * reset_error()
 * 
 * def get_error():             # <<<<<<<<<<<<<<
 * 
 *     if error_function != NULL:
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("renpy.gl2.uguugl.get_error", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":40
 * 
 * 
 * cdef void check_error(const char *function) nogil:             # <<<<<<<<<<<<<<
 * 
 *     global error_function
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_error(char const *__pyx_v_function) {
  GLenum __pyx_v_error;
  int __pyx_t_1;
  int __pyx_t_2;

  /* "renpy/gl2/uguugl.pyx":47
 *     cdef GLenum error
 * 
 *     error = real_glGetError()             # <<<<<<<<<<<<<<
 * 
 *     if (error_function == NULL) and (error != GL_NO_ERROR):
 */
  __pyx_v_error = __pyx_v_5renpy_3gl2_6uguugl_real_glGetError();

  /* "renpy/gl2/uguugl.pyx":49
 *     error = real_glGetError()
 * 
 *     if (error_function == NULL) and (error != GL_NO_ERROR):             # <<<<<<<<<<<<<<
 *         error_function = function
 *         error_code = error
 */
  __pyx_t_2 = ((__pyx_v_5renpy_3gl2_6uguugl_error_function == NULL) != 0);
  if (__pyx_t_2) {
  } else {
    __pyx_t_1 = __pyx_t_2;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_2 = ((__pyx_v_error != GL_NO_ERROR) != 0);
  __pyx_t_1 = __pyx_t_2;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_1) {

    /* "renpy/gl2/uguugl.pyx":50
 * 
 *     if (error_function == NULL) and (error != GL_NO_ERROR):
 *         error_function = function             # <<<<<<<<<<<<<<
 *         error_code = error
 * 
 */
    __pyx_v_5renpy_3gl2_6uguugl_error_function = __pyx_v_function;

    /* "renpy/gl2/uguugl.pyx":51
 *     if (error_function == NULL) and (error != GL_NO_ERROR):
 *         error_function = function
 *         error_code = error             # <<<<<<<<<<<<<<
 * 
 * 
 */
    __pyx_v_5renpy_3gl2_6uguugl_error_code = __pyx_v_error;

    /* "renpy/gl2/uguugl.pyx":49
 *     error = real_glGetError()
 * 
 *     if (error_function == NULL) and (error != GL_NO_ERROR):             # <<<<<<<<<<<<<<
 *         error_function = function
 *         error_code = error
 */
  }

  /* "renpy/gl2/uguugl.pyx":40
 * 
 * 
 * cdef void check_error(const char *function) nogil:             # <<<<<<<<<<<<<<
 * 
 *     global error_function
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":58
 * cdef glActiveTexture_type glActiveTexture
 * 
 * cdef void check_glActiveTexture(GLenum  texture) nogil:             # <<<<<<<<<<<<<<
 *     real_glActiveTexture(texture)
 *     check_error("glActiveTexture")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glActiveTexture(GLenum __pyx_v_texture) {

  /* "renpy/gl2/uguugl.pyx":59
 * 
 * cdef void check_glActiveTexture(GLenum  texture) nogil:
 *     real_glActiveTexture(texture)             # <<<<<<<<<<<<<<
 *     check_error("glActiveTexture")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glActiveTexture(__pyx_v_texture);

  /* "renpy/gl2/uguugl.pyx":60
 * cdef void check_glActiveTexture(GLenum  texture) nogil:
 *     real_glActiveTexture(texture)
 *     check_error("glActiveTexture")             # <<<<<<<<<<<<<<
 * 
 * cdef glAttachShader_type real_glAttachShader
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glActiveTexture"));

  /* "renpy/gl2/uguugl.pyx":58
 * cdef glActiveTexture_type glActiveTexture
 * 
 * cdef void check_glActiveTexture(GLenum  texture) nogil:             # <<<<<<<<<<<<<<
 *     real_glActiveTexture(texture)
 *     check_error("glActiveTexture")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":65
 * cdef glAttachShader_type glAttachShader
 * 
 * cdef void check_glAttachShader(GLuint  program, GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glAttachShader(program, shader)
 *     check_error("glAttachShader")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glAttachShader(GLuint __pyx_v_program, GLuint __pyx_v_shader) {

  /* "renpy/gl2/uguugl.pyx":66
 * 
 * cdef void check_glAttachShader(GLuint  program, GLuint  shader) nogil:
 *     real_glAttachShader(program, shader)             # <<<<<<<<<<<<<<
 *     check_error("glAttachShader")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glAttachShader(__pyx_v_program, __pyx_v_shader);

  /* "renpy/gl2/uguugl.pyx":67
 * cdef void check_glAttachShader(GLuint  program, GLuint  shader) nogil:
 *     real_glAttachShader(program, shader)
 *     check_error("glAttachShader")             # <<<<<<<<<<<<<<
 * 
 * cdef glBindAttribLocation_type real_glBindAttribLocation
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glAttachShader"));

  /* "renpy/gl2/uguugl.pyx":65
 * cdef glAttachShader_type glAttachShader
 * 
 * cdef void check_glAttachShader(GLuint  program, GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glAttachShader(program, shader)
 *     check_error("glAttachShader")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":72
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 * cdef void check_glBindAttribLocation(GLuint  program, GLuint  index, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindAttribLocation(program, index, name)
 *     check_error("glBindAttribLocation")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindAttribLocation(GLuint __pyx_v_program, GLuint __pyx_v_index, GLchar const *__pyx_v_name) {

  /* "renpy/gl2/uguugl.pyx":73
 * 
 * cdef void check_glBindAttribLocation(GLuint  program, GLuint  index, const GLchar * name) nogil:
 *     real_glBindAttribLocation(program, index, name)             # <<<<<<<<<<<<<<
 *     check_error("glBindAttribLocation")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindAttribLocation(__pyx_v_program, __pyx_v_index, __pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":74
 * cdef void check_glBindAttribLocation(GLuint  program, GLuint  index, const GLchar * name) nogil:
 *     real_glBindAttribLocation(program, index, name)
 *     check_error("glBindAttribLocation")             # <<<<<<<<<<<<<<
 * 
 * cdef glBindBuffer_type real_glBindBuffer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBindAttribLocation"));

  /* "renpy/gl2/uguugl.pyx":72
 * cdef glBindAttribLocation_type glBindAttribLocation
 * 
 * cdef void check_glBindAttribLocation(GLuint  program, GLuint  index, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindAttribLocation(program, index, name)
 *     check_error("glBindAttribLocation")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":79
 * cdef glBindBuffer_type glBindBuffer
 * 
 * cdef void check_glBindBuffer(GLenum  target, GLuint  buffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindBuffer(target, buffer)
 *     check_error("glBindBuffer")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindBuffer(GLenum __pyx_v_target, GLuint __pyx_v_buffer) {

  /* "renpy/gl2/uguugl.pyx":80
 * 
 * cdef void check_glBindBuffer(GLenum  target, GLuint  buffer) nogil:
 *     real_glBindBuffer(target, buffer)             # <<<<<<<<<<<<<<
 *     check_error("glBindBuffer")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindBuffer(__pyx_v_target, __pyx_v_buffer);

  /* "renpy/gl2/uguugl.pyx":81
 * cdef void check_glBindBuffer(GLenum  target, GLuint  buffer) nogil:
 *     real_glBindBuffer(target, buffer)
 *     check_error("glBindBuffer")             # <<<<<<<<<<<<<<
 * 
 * cdef glBindFramebuffer_type real_glBindFramebuffer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBindBuffer"));

  /* "renpy/gl2/uguugl.pyx":79
 * cdef glBindBuffer_type glBindBuffer
 * 
 * cdef void check_glBindBuffer(GLenum  target, GLuint  buffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindBuffer(target, buffer)
 *     check_error("glBindBuffer")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":86
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 * cdef void check_glBindFramebuffer(GLenum  target, GLuint  framebuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindFramebuffer(target, framebuffer)
 *     check_error("glBindFramebuffer")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindFramebuffer(GLenum __pyx_v_target, GLuint __pyx_v_framebuffer) {

  /* "renpy/gl2/uguugl.pyx":87
 * 
 * cdef void check_glBindFramebuffer(GLenum  target, GLuint  framebuffer) nogil:
 *     real_glBindFramebuffer(target, framebuffer)             # <<<<<<<<<<<<<<
 *     check_error("glBindFramebuffer")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindFramebuffer(__pyx_v_target, __pyx_v_framebuffer);

  /* "renpy/gl2/uguugl.pyx":88
 * cdef void check_glBindFramebuffer(GLenum  target, GLuint  framebuffer) nogil:
 *     real_glBindFramebuffer(target, framebuffer)
 *     check_error("glBindFramebuffer")             # <<<<<<<<<<<<<<
 * 
 * cdef glBindRenderbuffer_type real_glBindRenderbuffer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBindFramebuffer"));

  /* "renpy/gl2/uguugl.pyx":86
 * cdef glBindFramebuffer_type glBindFramebuffer
 * 
 * cdef void check_glBindFramebuffer(GLenum  target, GLuint  framebuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindFramebuffer(target, framebuffer)
 *     check_error("glBindFramebuffer")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":93
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 * cdef void check_glBindRenderbuffer(GLenum  target, GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindRenderbuffer(target, renderbuffer)
 *     check_error("glBindRenderbuffer")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindRenderbuffer(GLenum __pyx_v_target, GLuint __pyx_v_renderbuffer) {

  /* "renpy/gl2/uguugl.pyx":94
 * 
 * cdef void check_glBindRenderbuffer(GLenum  target, GLuint  renderbuffer) nogil:
 *     real_glBindRenderbuffer(target, renderbuffer)             # <<<<<<<<<<<<<<
 *     check_error("glBindRenderbuffer")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindRenderbuffer(__pyx_v_target, __pyx_v_renderbuffer);

  /* "renpy/gl2/uguugl.pyx":95
 * cdef void check_glBindRenderbuffer(GLenum  target, GLuint  renderbuffer) nogil:
 *     real_glBindRenderbuffer(target, renderbuffer)
 *     check_error("glBindRenderbuffer")             # <<<<<<<<<<<<<<
 * 
 * cdef glBindTexture_type real_glBindTexture
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBindRenderbuffer"));

  /* "renpy/gl2/uguugl.pyx":93
 * cdef glBindRenderbuffer_type glBindRenderbuffer
 * 
 * cdef void check_glBindRenderbuffer(GLenum  target, GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindRenderbuffer(target, renderbuffer)
 *     check_error("glBindRenderbuffer")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":100
 * cdef glBindTexture_type glBindTexture
 * 
 * cdef void check_glBindTexture(GLenum  target, GLuint  texture) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindTexture(target, texture)
 *     check_error("glBindTexture")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBindTexture(GLenum __pyx_v_target, GLuint __pyx_v_texture) {

  /* "renpy/gl2/uguugl.pyx":101
 * 
 * cdef void check_glBindTexture(GLenum  target, GLuint  texture) nogil:
 *     real_glBindTexture(target, texture)             # <<<<<<<<<<<<<<
 *     check_error("glBindTexture")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindTexture(__pyx_v_target, __pyx_v_texture);

  /* "renpy/gl2/uguugl.pyx":102
 * cdef void check_glBindTexture(GLenum  target, GLuint  texture) nogil:
 *     real_glBindTexture(target, texture)
 *     check_error("glBindTexture")             # <<<<<<<<<<<<<<
 * 
 * cdef glBlendColor_type real_glBlendColor
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBindTexture"));

  /* "renpy/gl2/uguugl.pyx":100
 * cdef glBindTexture_type glBindTexture
 * 
 * cdef void check_glBindTexture(GLenum  target, GLuint  texture) nogil:             # <<<<<<<<<<<<<<
 *     real_glBindTexture(target, texture)
 *     check_error("glBindTexture")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":107
 * cdef glBlendColor_type glBlendColor
 * 
 * cdef void check_glBlendColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendColor(red, green, blue, alpha)
 *     check_error("glBlendColor")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendColor(GLfloat __pyx_v_red, GLfloat __pyx_v_green, GLfloat __pyx_v_blue, GLfloat __pyx_v_alpha) {

  /* "renpy/gl2/uguugl.pyx":108
 * 
 * cdef void check_glBlendColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:
 *     real_glBlendColor(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 *     check_error("glBlendColor")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendColor(__pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* "renpy/gl2/uguugl.pyx":109
 * cdef void check_glBlendColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:
 *     real_glBlendColor(red, green, blue, alpha)
 *     check_error("glBlendColor")             # <<<<<<<<<<<<<<
 * 
 * cdef glBlendEquation_type real_glBlendEquation
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBlendColor"));

  /* "renpy/gl2/uguugl.pyx":107
 * cdef glBlendColor_type glBlendColor
 * 
 * cdef void check_glBlendColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendColor(red, green, blue, alpha)
 *     check_error("glBlendColor")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":114
 * cdef glBlendEquation_type glBlendEquation
 * 
 * cdef void check_glBlendEquation(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendEquation(mode)
 *     check_error("glBlendEquation")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquation(GLenum __pyx_v_mode) {

  /* "renpy/gl2/uguugl.pyx":115
 * 
 * cdef void check_glBlendEquation(GLenum  mode) nogil:
 *     real_glBlendEquation(mode)             # <<<<<<<<<<<<<<
 *     check_error("glBlendEquation")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquation(__pyx_v_mode);

  /* "renpy/gl2/uguugl.pyx":116
 * cdef void check_glBlendEquation(GLenum  mode) nogil:
 *     real_glBlendEquation(mode)
 *     check_error("glBlendEquation")             # <<<<<<<<<<<<<<
 * 
 * cdef glBlendEquationSeparate_type real_glBlendEquationSeparate
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBlendEquation"));

  /* "renpy/gl2/uguugl.pyx":114
 * cdef glBlendEquation_type glBlendEquation
 * 
 * cdef void check_glBlendEquation(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendEquation(mode)
 *     check_error("glBlendEquation")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":121
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 * cdef void check_glBlendEquationSeparate(GLenum  modeRGB, GLenum  modeAlpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendEquationSeparate(modeRGB, modeAlpha)
 *     check_error("glBlendEquationSeparate")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquationSeparate(GLenum __pyx_v_modeRGB, GLenum __pyx_v_modeAlpha) {

  /* "renpy/gl2/uguugl.pyx":122
 * 
 * cdef void check_glBlendEquationSeparate(GLenum  modeRGB, GLenum  modeAlpha) nogil:
 *     real_glBlendEquationSeparate(modeRGB, modeAlpha)             # <<<<<<<<<<<<<<
 *     check_error("glBlendEquationSeparate")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquationSeparate(__pyx_v_modeRGB, __pyx_v_modeAlpha);

  /* "renpy/gl2/uguugl.pyx":123
 * cdef void check_glBlendEquationSeparate(GLenum  modeRGB, GLenum  modeAlpha) nogil:
 *     real_glBlendEquationSeparate(modeRGB, modeAlpha)
 *     check_error("glBlendEquationSeparate")             # <<<<<<<<<<<<<<
 * 
 * cdef glBlendFunc_type real_glBlendFunc
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBlendEquationSeparate"));

  /* "renpy/gl2/uguugl.pyx":121
 * cdef glBlendEquationSeparate_type glBlendEquationSeparate
 * 
 * cdef void check_glBlendEquationSeparate(GLenum  modeRGB, GLenum  modeAlpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendEquationSeparate(modeRGB, modeAlpha)
 *     check_error("glBlendEquationSeparate")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":128
 * cdef glBlendFunc_type glBlendFunc
 * 
 * cdef void check_glBlendFunc(GLenum  sfactor, GLenum  dfactor) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendFunc(sfactor, dfactor)
 *     check_error("glBlendFunc")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFunc(GLenum __pyx_v_sfactor, GLenum __pyx_v_dfactor) {

  /* "renpy/gl2/uguugl.pyx":129
 * 
 * cdef void check_glBlendFunc(GLenum  sfactor, GLenum  dfactor) nogil:
 *     real_glBlendFunc(sfactor, dfactor)             # <<<<<<<<<<<<<<
 *     check_error("glBlendFunc")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFunc(__pyx_v_sfactor, __pyx_v_dfactor);

  /* "renpy/gl2/uguugl.pyx":130
 * cdef void check_glBlendFunc(GLenum  sfactor, GLenum  dfactor) nogil:
 *     real_glBlendFunc(sfactor, dfactor)
 *     check_error("glBlendFunc")             # <<<<<<<<<<<<<<
 * 
 * cdef glBlendFuncSeparate_type real_glBlendFuncSeparate
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBlendFunc"));

  /* "renpy/gl2/uguugl.pyx":128
 * cdef glBlendFunc_type glBlendFunc
 * 
 * cdef void check_glBlendFunc(GLenum  sfactor, GLenum  dfactor) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendFunc(sfactor, dfactor)
 *     check_error("glBlendFunc")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":135
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 * cdef void check_glBlendFuncSeparate(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 *     check_error("glBlendFuncSeparate")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFuncSeparate(GLenum __pyx_v_sfactorRGB, GLenum __pyx_v_dfactorRGB, GLenum __pyx_v_sfactorAlpha, GLenum __pyx_v_dfactorAlpha) {

  /* "renpy/gl2/uguugl.pyx":136
 * 
 * cdef void check_glBlendFuncSeparate(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil:
 *     real_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)             # <<<<<<<<<<<<<<
 *     check_error("glBlendFuncSeparate")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFuncSeparate(__pyx_v_sfactorRGB, __pyx_v_dfactorRGB, __pyx_v_sfactorAlpha, __pyx_v_dfactorAlpha);

  /* "renpy/gl2/uguugl.pyx":137
 * cdef void check_glBlendFuncSeparate(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil:
 *     real_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 *     check_error("glBlendFuncSeparate")             # <<<<<<<<<<<<<<
 * 
 * cdef glBufferData_type real_glBufferData
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBlendFuncSeparate"));

  /* "renpy/gl2/uguugl.pyx":135
 * cdef glBlendFuncSeparate_type glBlendFuncSeparate
 * 
 * cdef void check_glBlendFuncSeparate(GLenum  sfactorRGB, GLenum  dfactorRGB, GLenum  sfactorAlpha, GLenum  dfactorAlpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)
 *     check_error("glBlendFuncSeparate")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":142
 * cdef glBufferData_type glBufferData
 * 
 * cdef void check_glBufferData(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil:             # <<<<<<<<<<<<<<
 *     real_glBufferData(target, size, data, usage)
 *     check_error("glBufferData")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBufferData(GLenum __pyx_v_target, GLsizeiptr __pyx_v_size, void const *__pyx_v_data, GLenum __pyx_v_usage) {

  /* "renpy/gl2/uguugl.pyx":143
 * 
 * cdef void check_glBufferData(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil:
 *     real_glBufferData(target, size, data, usage)             # <<<<<<<<<<<<<<
 *     check_error("glBufferData")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBufferData(__pyx_v_target, __pyx_v_size, __pyx_v_data, __pyx_v_usage);

  /* "renpy/gl2/uguugl.pyx":144
 * cdef void check_glBufferData(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil:
 *     real_glBufferData(target, size, data, usage)
 *     check_error("glBufferData")             # <<<<<<<<<<<<<<
 * 
 * cdef glBufferSubData_type real_glBufferSubData
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBufferData"));

  /* "renpy/gl2/uguugl.pyx":142
 * cdef glBufferData_type glBufferData
 * 
 * cdef void check_glBufferData(GLenum  target, GLsizeiptr  size, const void * data, GLenum  usage) nogil:             # <<<<<<<<<<<<<<
 *     real_glBufferData(target, size, data, usage)
 *     check_error("glBufferData")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":149
 * cdef glBufferSubData_type glBufferSubData
 * 
 * cdef void check_glBufferSubData(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glBufferSubData(target, offset, size, data)
 *     check_error("glBufferSubData")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glBufferSubData(GLenum __pyx_v_target, GLintptr __pyx_v_offset, GLsizeiptr __pyx_v_size, void const *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":150
 * 
 * cdef void check_glBufferSubData(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil:
 *     real_glBufferSubData(target, offset, size, data)             # <<<<<<<<<<<<<<
 *     check_error("glBufferSubData")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glBufferSubData(__pyx_v_target, __pyx_v_offset, __pyx_v_size, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":151
 * cdef void check_glBufferSubData(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil:
 *     real_glBufferSubData(target, offset, size, data)
 *     check_error("glBufferSubData")             # <<<<<<<<<<<<<<
 * 
 * cdef glCheckFramebufferStatus_type real_glCheckFramebufferStatus
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glBufferSubData"));

  /* "renpy/gl2/uguugl.pyx":149
 * cdef glBufferSubData_type glBufferSubData
 * 
 * cdef void check_glBufferSubData(GLenum  target, GLintptr  offset, GLsizeiptr  size, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glBufferSubData(target, offset, size, data)
 *     check_error("glBufferSubData")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":156
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 * cdef GLenum check_glCheckFramebufferStatus(GLenum  target) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLenum rv
 *     rv = real_glCheckFramebufferStatus(target)
 */

static GLenum __pyx_f_5renpy_3gl2_6uguugl_check_glCheckFramebufferStatus(GLenum __pyx_v_target) {
  GLenum __pyx_v_rv;
  GLenum __pyx_r;

  /* "renpy/gl2/uguugl.pyx":158
 * cdef GLenum check_glCheckFramebufferStatus(GLenum  target) nogil:
 *     cdef GLenum rv
 *     rv = real_glCheckFramebufferStatus(target)             # <<<<<<<<<<<<<<
 *     check_error("glCheckFramebufferStatus")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glCheckFramebufferStatus(__pyx_v_target);

  /* "renpy/gl2/uguugl.pyx":159
 *     cdef GLenum rv
 *     rv = real_glCheckFramebufferStatus(target)
 *     check_error("glCheckFramebufferStatus")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCheckFramebufferStatus"));

  /* "renpy/gl2/uguugl.pyx":160
 *     rv = real_glCheckFramebufferStatus(target)
 *     check_error("glCheckFramebufferStatus")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glClear_type real_glClear
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":156
 * cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
 * 
 * cdef GLenum check_glCheckFramebufferStatus(GLenum  target) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLenum rv
 *     rv = real_glCheckFramebufferStatus(target)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":165
 * cdef glClear_type glClear
 * 
 * cdef void check_glClear(GLbitfield  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glClear(mask)
 *     check_error("glClear")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glClear(GLbitfield __pyx_v_mask) {

  /* "renpy/gl2/uguugl.pyx":166
 * 
 * cdef void check_glClear(GLbitfield  mask) nogil:
 *     real_glClear(mask)             # <<<<<<<<<<<<<<
 *     check_error("glClear")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glClear(__pyx_v_mask);

  /* "renpy/gl2/uguugl.pyx":167
 * cdef void check_glClear(GLbitfield  mask) nogil:
 *     real_glClear(mask)
 *     check_error("glClear")             # <<<<<<<<<<<<<<
 * 
 * cdef glClearColor_type real_glClearColor
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glClear"));

  /* "renpy/gl2/uguugl.pyx":165
 * cdef glClear_type glClear
 * 
 * cdef void check_glClear(GLbitfield  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glClear(mask)
 *     check_error("glClear")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":172
 * cdef glClearColor_type glClearColor
 * 
 * cdef void check_glClearColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glClearColor(red, green, blue, alpha)
 *     check_error("glClearColor")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glClearColor(GLfloat __pyx_v_red, GLfloat __pyx_v_green, GLfloat __pyx_v_blue, GLfloat __pyx_v_alpha) {

  /* "renpy/gl2/uguugl.pyx":173
 * 
 * cdef void check_glClearColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:
 *     real_glClearColor(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 *     check_error("glClearColor")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glClearColor(__pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* "renpy/gl2/uguugl.pyx":174
 * cdef void check_glClearColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:
 *     real_glClearColor(red, green, blue, alpha)
 *     check_error("glClearColor")             # <<<<<<<<<<<<<<
 * 
 * cdef glClearStencil_type real_glClearStencil
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glClearColor"));

  /* "renpy/gl2/uguugl.pyx":172
 * cdef glClearColor_type glClearColor
 * 
 * cdef void check_glClearColor(GLfloat  red, GLfloat  green, GLfloat  blue, GLfloat  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glClearColor(red, green, blue, alpha)
 *     check_error("glClearColor")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":179
 * cdef glClearStencil_type glClearStencil
 * 
 * cdef void check_glClearStencil(GLint  s) nogil:             # <<<<<<<<<<<<<<
 *     real_glClearStencil(s)
 *     check_error("glClearStencil")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glClearStencil(GLint __pyx_v_s) {

  /* "renpy/gl2/uguugl.pyx":180
 * 
 * cdef void check_glClearStencil(GLint  s) nogil:
 *     real_glClearStencil(s)             # <<<<<<<<<<<<<<
 *     check_error("glClearStencil")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glClearStencil(__pyx_v_s);

  /* "renpy/gl2/uguugl.pyx":181
 * cdef void check_glClearStencil(GLint  s) nogil:
 *     real_glClearStencil(s)
 *     check_error("glClearStencil")             # <<<<<<<<<<<<<<
 * 
 * cdef glColorMask_type real_glColorMask
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glClearStencil"));

  /* "renpy/gl2/uguugl.pyx":179
 * cdef glClearStencil_type glClearStencil
 * 
 * cdef void check_glClearStencil(GLint  s) nogil:             # <<<<<<<<<<<<<<
 *     real_glClearStencil(s)
 *     check_error("glClearStencil")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":186
 * cdef glColorMask_type glColorMask
 * 
 * cdef void check_glColorMask(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glColorMask(red, green, blue, alpha)
 *     check_error("glColorMask")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glColorMask(GLboolean __pyx_v_red, GLboolean __pyx_v_green, GLboolean __pyx_v_blue, GLboolean __pyx_v_alpha) {

  /* "renpy/gl2/uguugl.pyx":187
 * 
 * cdef void check_glColorMask(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil:
 *     real_glColorMask(red, green, blue, alpha)             # <<<<<<<<<<<<<<
 *     check_error("glColorMask")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glColorMask(__pyx_v_red, __pyx_v_green, __pyx_v_blue, __pyx_v_alpha);

  /* "renpy/gl2/uguugl.pyx":188
 * cdef void check_glColorMask(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil:
 *     real_glColorMask(red, green, blue, alpha)
 *     check_error("glColorMask")             # <<<<<<<<<<<<<<
 * 
 * cdef glCompileShader_type real_glCompileShader
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glColorMask"));

  /* "renpy/gl2/uguugl.pyx":186
 * cdef glColorMask_type glColorMask
 * 
 * cdef void check_glColorMask(GLboolean  red, GLboolean  green, GLboolean  blue, GLboolean  alpha) nogil:             # <<<<<<<<<<<<<<
 *     real_glColorMask(red, green, blue, alpha)
 *     check_error("glColorMask")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":193
 * cdef glCompileShader_type glCompileShader
 * 
 * cdef void check_glCompileShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompileShader(shader)
 *     check_error("glCompileShader")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompileShader(GLuint __pyx_v_shader) {

  /* "renpy/gl2/uguugl.pyx":194
 * 
 * cdef void check_glCompileShader(GLuint  shader) nogil:
 *     real_glCompileShader(shader)             # <<<<<<<<<<<<<<
 *     check_error("glCompileShader")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompileShader(__pyx_v_shader);

  /* "renpy/gl2/uguugl.pyx":195
 * cdef void check_glCompileShader(GLuint  shader) nogil:
 *     real_glCompileShader(shader)
 *     check_error("glCompileShader")             # <<<<<<<<<<<<<<
 * 
 * cdef glCompressedTexImage2D_type real_glCompressedTexImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCompileShader"));

  /* "renpy/gl2/uguugl.pyx":193
 * cdef glCompileShader_type glCompileShader
 * 
 * cdef void check_glCompileShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompileShader(shader)
 *     check_error("glCompileShader")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":200
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 * cdef void check_glCompressedTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)
 *     check_error("glCompressedTexImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLenum __pyx_v_internalformat, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLint __pyx_v_border, GLsizei __pyx_v_imageSize, void const *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":201
 * 
 * cdef void check_glCompressedTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil:
 *     real_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)             # <<<<<<<<<<<<<<
 *     check_error("glCompressedTexImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_border, __pyx_v_imageSize, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":202
 * cdef void check_glCompressedTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil:
 *     real_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)
 *     check_error("glCompressedTexImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glCompressedTexSubImage2D_type real_glCompressedTexSubImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCompressedTexImage2D"));

  /* "renpy/gl2/uguugl.pyx":200
 * cdef glCompressedTexImage2D_type glCompressedTexImage2D
 * 
 * cdef void check_glCompressedTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLsizei  imageSize, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data)
 *     check_error("glCompressedTexImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":207
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 * cdef void check_glCompressedTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)
 *     check_error("glCompressedTexSubImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexSubImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLint __pyx_v_xoffset, GLint __pyx_v_yoffset, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLenum __pyx_v_format, GLsizei __pyx_v_imageSize, void const *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":208
 * 
 * cdef void check_glCompressedTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil:
 *     real_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)             # <<<<<<<<<<<<<<
 *     check_error("glCompressedTexSubImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexSubImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_imageSize, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":209
 * cdef void check_glCompressedTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil:
 *     real_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)
 *     check_error("glCompressedTexSubImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glCopyTexImage2D_type real_glCopyTexImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCompressedTexSubImage2D"));

  /* "renpy/gl2/uguugl.pyx":207
 * cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
 * 
 * cdef void check_glCompressedTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLsizei  imageSize, const void * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data)
 *     check_error("glCompressedTexSubImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":214
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 * cdef void check_glCopyTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil:             # <<<<<<<<<<<<<<
 *     real_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 *     check_error("glCopyTexImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLenum __pyx_v_internalformat, GLint __pyx_v_x, GLint __pyx_v_y, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLint __pyx_v_border) {

  /* "renpy/gl2/uguugl.pyx":215
 * 
 * cdef void check_glCopyTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil:
 *     real_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)             # <<<<<<<<<<<<<<
 *     check_error("glCopyTexImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height, __pyx_v_border);

  /* "renpy/gl2/uguugl.pyx":216
 * cdef void check_glCopyTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil:
 *     real_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 *     check_error("glCopyTexImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glCopyTexSubImage2D_type real_glCopyTexSubImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCopyTexImage2D"));

  /* "renpy/gl2/uguugl.pyx":214
 * cdef glCopyTexImage2D_type glCopyTexImage2D
 * 
 * cdef void check_glCopyTexImage2D(GLenum  target, GLint  level, GLenum  internalformat, GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLint  border) nogil:             # <<<<<<<<<<<<<<
 *     real_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border)
 *     check_error("glCopyTexImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":221
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 * cdef void check_glCopyTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 *     check_error("glCopyTexSubImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexSubImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLint __pyx_v_xoffset, GLint __pyx_v_yoffset, GLint __pyx_v_x, GLint __pyx_v_y, GLsizei __pyx_v_width, GLsizei __pyx_v_height) {

  /* "renpy/gl2/uguugl.pyx":222
 * 
 * cdef void check_glCopyTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)             # <<<<<<<<<<<<<<
 *     check_error("glCopyTexSubImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexSubImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* "renpy/gl2/uguugl.pyx":223
 * cdef void check_glCopyTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 *     check_error("glCopyTexSubImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glCreateProgram_type real_glCreateProgram
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCopyTexSubImage2D"));

  /* "renpy/gl2/uguugl.pyx":221
 * cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
 * 
 * cdef void check_glCopyTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height)
 *     check_error("glCopyTexSubImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":228
 * cdef glCreateProgram_type glCreateProgram
 * 
 * cdef GLuint check_glCreateProgram() nogil:             # <<<<<<<<<<<<<<
 *     cdef GLuint rv
 *     rv = real_glCreateProgram()
 */

static GLuint __pyx_f_5renpy_3gl2_6uguugl_check_glCreateProgram(void) {
  GLuint __pyx_v_rv;
  GLuint __pyx_r;

  /* "renpy/gl2/uguugl.pyx":230
 * cdef GLuint check_glCreateProgram() nogil:
 *     cdef GLuint rv
 *     rv = real_glCreateProgram()             # <<<<<<<<<<<<<<
 *     check_error("glCreateProgram")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glCreateProgram();

  /* "renpy/gl2/uguugl.pyx":231
 *     cdef GLuint rv
 *     rv = real_glCreateProgram()
 *     check_error("glCreateProgram")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCreateProgram"));

  /* "renpy/gl2/uguugl.pyx":232
 *     rv = real_glCreateProgram()
 *     check_error("glCreateProgram")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glCreateShader_type real_glCreateShader
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":228
 * cdef glCreateProgram_type glCreateProgram
 * 
 * cdef GLuint check_glCreateProgram() nogil:             # <<<<<<<<<<<<<<
 *     cdef GLuint rv
 *     rv = real_glCreateProgram()
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":237
 * cdef glCreateShader_type glCreateShader
 * 
 * cdef GLuint check_glCreateShader(GLenum  type) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLuint rv
 *     rv = real_glCreateShader(type)
 */

static GLuint __pyx_f_5renpy_3gl2_6uguugl_check_glCreateShader(GLenum __pyx_v_type) {
  GLuint __pyx_v_rv;
  GLuint __pyx_r;

  /* "renpy/gl2/uguugl.pyx":239
 * cdef GLuint check_glCreateShader(GLenum  type) nogil:
 *     cdef GLuint rv
 *     rv = real_glCreateShader(type)             # <<<<<<<<<<<<<<
 *     check_error("glCreateShader")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glCreateShader(__pyx_v_type);

  /* "renpy/gl2/uguugl.pyx":240
 *     cdef GLuint rv
 *     rv = real_glCreateShader(type)
 *     check_error("glCreateShader")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCreateShader"));

  /* "renpy/gl2/uguugl.pyx":241
 *     rv = real_glCreateShader(type)
 *     check_error("glCreateShader")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glCullFace_type real_glCullFace
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":237
 * cdef glCreateShader_type glCreateShader
 * 
 * cdef GLuint check_glCreateShader(GLenum  type) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLuint rv
 *     rv = real_glCreateShader(type)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":246
 * cdef glCullFace_type glCullFace
 * 
 * cdef void check_glCullFace(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glCullFace(mode)
 *     check_error("glCullFace")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glCullFace(GLenum __pyx_v_mode) {

  /* "renpy/gl2/uguugl.pyx":247
 * 
 * cdef void check_glCullFace(GLenum  mode) nogil:
 *     real_glCullFace(mode)             # <<<<<<<<<<<<<<
 *     check_error("glCullFace")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glCullFace(__pyx_v_mode);

  /* "renpy/gl2/uguugl.pyx":248
 * cdef void check_glCullFace(GLenum  mode) nogil:
 *     real_glCullFace(mode)
 *     check_error("glCullFace")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteBuffers_type real_glDeleteBuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glCullFace"));

  /* "renpy/gl2/uguugl.pyx":246
 * cdef glCullFace_type glCullFace
 * 
 * cdef void check_glCullFace(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glCullFace(mode)
 *     check_error("glCullFace")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":253
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 * cdef void check_glDeleteBuffers(GLsizei  n, const GLuint * buffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteBuffers(n, buffers)
 *     check_error("glDeleteBuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteBuffers(GLsizei __pyx_v_n, GLuint const *__pyx_v_buffers) {

  /* "renpy/gl2/uguugl.pyx":254
 * 
 * cdef void check_glDeleteBuffers(GLsizei  n, const GLuint * buffers) nogil:
 *     real_glDeleteBuffers(n, buffers)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteBuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteBuffers(__pyx_v_n, __pyx_v_buffers);

  /* "renpy/gl2/uguugl.pyx":255
 * cdef void check_glDeleteBuffers(GLsizei  n, const GLuint * buffers) nogil:
 *     real_glDeleteBuffers(n, buffers)
 *     check_error("glDeleteBuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteFramebuffers_type real_glDeleteFramebuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteBuffers"));

  /* "renpy/gl2/uguugl.pyx":253
 * cdef glDeleteBuffers_type glDeleteBuffers
 * 
 * cdef void check_glDeleteBuffers(GLsizei  n, const GLuint * buffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteBuffers(n, buffers)
 *     check_error("glDeleteBuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":260
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 * cdef void check_glDeleteFramebuffers(GLsizei  n, const GLuint * framebuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteFramebuffers(n, framebuffers)
 *     check_error("glDeleteFramebuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteFramebuffers(GLsizei __pyx_v_n, GLuint const *__pyx_v_framebuffers) {

  /* "renpy/gl2/uguugl.pyx":261
 * 
 * cdef void check_glDeleteFramebuffers(GLsizei  n, const GLuint * framebuffers) nogil:
 *     real_glDeleteFramebuffers(n, framebuffers)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteFramebuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteFramebuffers(__pyx_v_n, __pyx_v_framebuffers);

  /* "renpy/gl2/uguugl.pyx":262
 * cdef void check_glDeleteFramebuffers(GLsizei  n, const GLuint * framebuffers) nogil:
 *     real_glDeleteFramebuffers(n, framebuffers)
 *     check_error("glDeleteFramebuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteProgram_type real_glDeleteProgram
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteFramebuffers"));

  /* "renpy/gl2/uguugl.pyx":260
 * cdef glDeleteFramebuffers_type glDeleteFramebuffers
 * 
 * cdef void check_glDeleteFramebuffers(GLsizei  n, const GLuint * framebuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteFramebuffers(n, framebuffers)
 *     check_error("glDeleteFramebuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":267
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 * cdef void check_glDeleteProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteProgram(program)
 *     check_error("glDeleteProgram")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteProgram(GLuint __pyx_v_program) {

  /* "renpy/gl2/uguugl.pyx":268
 * 
 * cdef void check_glDeleteProgram(GLuint  program) nogil:
 *     real_glDeleteProgram(program)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteProgram")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteProgram(__pyx_v_program);

  /* "renpy/gl2/uguugl.pyx":269
 * cdef void check_glDeleteProgram(GLuint  program) nogil:
 *     real_glDeleteProgram(program)
 *     check_error("glDeleteProgram")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteRenderbuffers_type real_glDeleteRenderbuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteProgram"));

  /* "renpy/gl2/uguugl.pyx":267
 * cdef glDeleteProgram_type glDeleteProgram
 * 
 * cdef void check_glDeleteProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteProgram(program)
 *     check_error("glDeleteProgram")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":274
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 * cdef void check_glDeleteRenderbuffers(GLsizei  n, const GLuint * renderbuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteRenderbuffers(n, renderbuffers)
 *     check_error("glDeleteRenderbuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteRenderbuffers(GLsizei __pyx_v_n, GLuint const *__pyx_v_renderbuffers) {

  /* "renpy/gl2/uguugl.pyx":275
 * 
 * cdef void check_glDeleteRenderbuffers(GLsizei  n, const GLuint * renderbuffers) nogil:
 *     real_glDeleteRenderbuffers(n, renderbuffers)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteRenderbuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteRenderbuffers(__pyx_v_n, __pyx_v_renderbuffers);

  /* "renpy/gl2/uguugl.pyx":276
 * cdef void check_glDeleteRenderbuffers(GLsizei  n, const GLuint * renderbuffers) nogil:
 *     real_glDeleteRenderbuffers(n, renderbuffers)
 *     check_error("glDeleteRenderbuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteShader_type real_glDeleteShader
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteRenderbuffers"));

  /* "renpy/gl2/uguugl.pyx":274
 * cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
 * 
 * cdef void check_glDeleteRenderbuffers(GLsizei  n, const GLuint * renderbuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteRenderbuffers(n, renderbuffers)
 *     check_error("glDeleteRenderbuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":281
 * cdef glDeleteShader_type glDeleteShader
 * 
 * cdef void check_glDeleteShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteShader(shader)
 *     check_error("glDeleteShader")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteShader(GLuint __pyx_v_shader) {

  /* "renpy/gl2/uguugl.pyx":282
 * 
 * cdef void check_glDeleteShader(GLuint  shader) nogil:
 *     real_glDeleteShader(shader)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteShader")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteShader(__pyx_v_shader);

  /* "renpy/gl2/uguugl.pyx":283
 * cdef void check_glDeleteShader(GLuint  shader) nogil:
 *     real_glDeleteShader(shader)
 *     check_error("glDeleteShader")             # <<<<<<<<<<<<<<
 * 
 * cdef glDeleteTextures_type real_glDeleteTextures
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteShader"));

  /* "renpy/gl2/uguugl.pyx":281
 * cdef glDeleteShader_type glDeleteShader
 * 
 * cdef void check_glDeleteShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteShader(shader)
 *     check_error("glDeleteShader")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":288
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 * cdef void check_glDeleteTextures(GLsizei  n, const GLuint * textures) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteTextures(n, textures)
 *     check_error("glDeleteTextures")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteTextures(GLsizei __pyx_v_n, GLuint const *__pyx_v_textures) {

  /* "renpy/gl2/uguugl.pyx":289
 * 
 * cdef void check_glDeleteTextures(GLsizei  n, const GLuint * textures) nogil:
 *     real_glDeleteTextures(n, textures)             # <<<<<<<<<<<<<<
 *     check_error("glDeleteTextures")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteTextures(__pyx_v_n, __pyx_v_textures);

  /* "renpy/gl2/uguugl.pyx":290
 * cdef void check_glDeleteTextures(GLsizei  n, const GLuint * textures) nogil:
 *     real_glDeleteTextures(n, textures)
 *     check_error("glDeleteTextures")             # <<<<<<<<<<<<<<
 * 
 * cdef glDepthFunc_type real_glDepthFunc
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDeleteTextures"));

  /* "renpy/gl2/uguugl.pyx":288
 * cdef glDeleteTextures_type glDeleteTextures
 * 
 * cdef void check_glDeleteTextures(GLsizei  n, const GLuint * textures) nogil:             # <<<<<<<<<<<<<<
 *     real_glDeleteTextures(n, textures)
 *     check_error("glDeleteTextures")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":295
 * cdef glDepthFunc_type glDepthFunc
 * 
 * cdef void check_glDepthFunc(GLenum  func) nogil:             # <<<<<<<<<<<<<<
 *     real_glDepthFunc(func)
 *     check_error("glDepthFunc")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDepthFunc(GLenum __pyx_v_func) {

  /* "renpy/gl2/uguugl.pyx":296
 * 
 * cdef void check_glDepthFunc(GLenum  func) nogil:
 *     real_glDepthFunc(func)             # <<<<<<<<<<<<<<
 *     check_error("glDepthFunc")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDepthFunc(__pyx_v_func);

  /* "renpy/gl2/uguugl.pyx":297
 * cdef void check_glDepthFunc(GLenum  func) nogil:
 *     real_glDepthFunc(func)
 *     check_error("glDepthFunc")             # <<<<<<<<<<<<<<
 * 
 * cdef glDepthMask_type real_glDepthMask
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDepthFunc"));

  /* "renpy/gl2/uguugl.pyx":295
 * cdef glDepthFunc_type glDepthFunc
 * 
 * cdef void check_glDepthFunc(GLenum  func) nogil:             # <<<<<<<<<<<<<<
 *     real_glDepthFunc(func)
 *     check_error("glDepthFunc")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":302
 * cdef glDepthMask_type glDepthMask
 * 
 * cdef void check_glDepthMask(GLboolean  flag) nogil:             # <<<<<<<<<<<<<<
 *     real_glDepthMask(flag)
 *     check_error("glDepthMask")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDepthMask(GLboolean __pyx_v_flag) {

  /* "renpy/gl2/uguugl.pyx":303
 * 
 * cdef void check_glDepthMask(GLboolean  flag) nogil:
 *     real_glDepthMask(flag)             # <<<<<<<<<<<<<<
 *     check_error("glDepthMask")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDepthMask(__pyx_v_flag);

  /* "renpy/gl2/uguugl.pyx":304
 * cdef void check_glDepthMask(GLboolean  flag) nogil:
 *     real_glDepthMask(flag)
 *     check_error("glDepthMask")             # <<<<<<<<<<<<<<
 * 
 * cdef glDetachShader_type real_glDetachShader
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDepthMask"));

  /* "renpy/gl2/uguugl.pyx":302
 * cdef glDepthMask_type glDepthMask
 * 
 * cdef void check_glDepthMask(GLboolean  flag) nogil:             # <<<<<<<<<<<<<<
 *     real_glDepthMask(flag)
 *     check_error("glDepthMask")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":309
 * cdef glDetachShader_type glDetachShader
 * 
 * cdef void check_glDetachShader(GLuint  program, GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glDetachShader(program, shader)
 *     check_error("glDetachShader")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDetachShader(GLuint __pyx_v_program, GLuint __pyx_v_shader) {

  /* "renpy/gl2/uguugl.pyx":310
 * 
 * cdef void check_glDetachShader(GLuint  program, GLuint  shader) nogil:
 *     real_glDetachShader(program, shader)             # <<<<<<<<<<<<<<
 *     check_error("glDetachShader")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDetachShader(__pyx_v_program, __pyx_v_shader);

  /* "renpy/gl2/uguugl.pyx":311
 * cdef void check_glDetachShader(GLuint  program, GLuint  shader) nogil:
 *     real_glDetachShader(program, shader)
 *     check_error("glDetachShader")             # <<<<<<<<<<<<<<
 * 
 * cdef glDisable_type real_glDisable
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDetachShader"));

  /* "renpy/gl2/uguugl.pyx":309
 * cdef glDetachShader_type glDetachShader
 * 
 * cdef void check_glDetachShader(GLuint  program, GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     real_glDetachShader(program, shader)
 *     check_error("glDetachShader")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":316
 * cdef glDisable_type glDisable
 * 
 * cdef void check_glDisable(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     real_glDisable(cap)
 *     check_error("glDisable")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDisable(GLenum __pyx_v_cap) {

  /* "renpy/gl2/uguugl.pyx":317
 * 
 * cdef void check_glDisable(GLenum  cap) nogil:
 *     real_glDisable(cap)             # <<<<<<<<<<<<<<
 *     check_error("glDisable")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDisable(__pyx_v_cap);

  /* "renpy/gl2/uguugl.pyx":318
 * cdef void check_glDisable(GLenum  cap) nogil:
 *     real_glDisable(cap)
 *     check_error("glDisable")             # <<<<<<<<<<<<<<
 * 
 * cdef glDisableVertexAttribArray_type real_glDisableVertexAttribArray
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDisable"));

  /* "renpy/gl2/uguugl.pyx":316
 * cdef glDisable_type glDisable
 * 
 * cdef void check_glDisable(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     real_glDisable(cap)
 *     check_error("glDisable")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":323
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 * cdef void check_glDisableVertexAttribArray(GLuint  index) nogil:             # <<<<<<<<<<<<<<
 *     real_glDisableVertexAttribArray(index)
 *     check_error("glDisableVertexAttribArray")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDisableVertexAttribArray(GLuint __pyx_v_index) {

  /* "renpy/gl2/uguugl.pyx":324
 * 
 * cdef void check_glDisableVertexAttribArray(GLuint  index) nogil:
 *     real_glDisableVertexAttribArray(index)             # <<<<<<<<<<<<<<
 *     check_error("glDisableVertexAttribArray")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDisableVertexAttribArray(__pyx_v_index);

  /* "renpy/gl2/uguugl.pyx":325
 * cdef void check_glDisableVertexAttribArray(GLuint  index) nogil:
 *     real_glDisableVertexAttribArray(index)
 *     check_error("glDisableVertexAttribArray")             # <<<<<<<<<<<<<<
 * 
 * cdef glDrawArrays_type real_glDrawArrays
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDisableVertexAttribArray"));

  /* "renpy/gl2/uguugl.pyx":323
 * cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
 * 
 * cdef void check_glDisableVertexAttribArray(GLuint  index) nogil:             # <<<<<<<<<<<<<<
 *     real_glDisableVertexAttribArray(index)
 *     check_error("glDisableVertexAttribArray")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":330
 * cdef glDrawArrays_type glDrawArrays
 * 
 * cdef void check_glDrawArrays(GLenum  mode, GLint  first, GLsizei  count) nogil:             # <<<<<<<<<<<<<<
 *     real_glDrawArrays(mode, first, count)
 *     check_error("glDrawArrays")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDrawArrays(GLenum __pyx_v_mode, GLint __pyx_v_first, GLsizei __pyx_v_count) {

  /* "renpy/gl2/uguugl.pyx":331
 * 
 * cdef void check_glDrawArrays(GLenum  mode, GLint  first, GLsizei  count) nogil:
 *     real_glDrawArrays(mode, first, count)             # <<<<<<<<<<<<<<
 *     check_error("glDrawArrays")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDrawArrays(__pyx_v_mode, __pyx_v_first, __pyx_v_count);

  /* "renpy/gl2/uguugl.pyx":332
 * cdef void check_glDrawArrays(GLenum  mode, GLint  first, GLsizei  count) nogil:
 *     real_glDrawArrays(mode, first, count)
 *     check_error("glDrawArrays")             # <<<<<<<<<<<<<<
 * 
 * cdef glDrawElements_type real_glDrawElements
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDrawArrays"));

  /* "renpy/gl2/uguugl.pyx":330
 * cdef glDrawArrays_type glDrawArrays
 * 
 * cdef void check_glDrawArrays(GLenum  mode, GLint  first, GLsizei  count) nogil:             # <<<<<<<<<<<<<<
 *     real_glDrawArrays(mode, first, count)
 *     check_error("glDrawArrays")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":337
 * cdef glDrawElements_type glDrawElements
 * 
 * cdef void check_glDrawElements(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil:             # <<<<<<<<<<<<<<
 *     real_glDrawElements(mode, count, type, indices)
 *     check_error("glDrawElements")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glDrawElements(GLenum __pyx_v_mode, GLsizei __pyx_v_count, GLenum __pyx_v_type, void const *__pyx_v_indices) {

  /* "renpy/gl2/uguugl.pyx":338
 * 
 * cdef void check_glDrawElements(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil:
 *     real_glDrawElements(mode, count, type, indices)             # <<<<<<<<<<<<<<
 *     check_error("glDrawElements")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glDrawElements(__pyx_v_mode, __pyx_v_count, __pyx_v_type, __pyx_v_indices);

  /* "renpy/gl2/uguugl.pyx":339
 * cdef void check_glDrawElements(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil:
 *     real_glDrawElements(mode, count, type, indices)
 *     check_error("glDrawElements")             # <<<<<<<<<<<<<<
 * 
 * cdef glEnable_type real_glEnable
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glDrawElements"));

  /* "renpy/gl2/uguugl.pyx":337
 * cdef glDrawElements_type glDrawElements
 * 
 * cdef void check_glDrawElements(GLenum  mode, GLsizei  count, GLenum  type, const void * indices) nogil:             # <<<<<<<<<<<<<<
 *     real_glDrawElements(mode, count, type, indices)
 *     check_error("glDrawElements")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":344
 * cdef glEnable_type glEnable
 * 
 * cdef void check_glEnable(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     real_glEnable(cap)
 *     check_error("glEnable")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glEnable(GLenum __pyx_v_cap) {

  /* "renpy/gl2/uguugl.pyx":345
 * 
 * cdef void check_glEnable(GLenum  cap) nogil:
 *     real_glEnable(cap)             # <<<<<<<<<<<<<<
 *     check_error("glEnable")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glEnable(__pyx_v_cap);

  /* "renpy/gl2/uguugl.pyx":346
 * cdef void check_glEnable(GLenum  cap) nogil:
 *     real_glEnable(cap)
 *     check_error("glEnable")             # <<<<<<<<<<<<<<
 * 
 * cdef glEnableVertexAttribArray_type real_glEnableVertexAttribArray
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glEnable"));

  /* "renpy/gl2/uguugl.pyx":344
 * cdef glEnable_type glEnable
 * 
 * cdef void check_glEnable(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     real_glEnable(cap)
 *     check_error("glEnable")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":351
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 * cdef void check_glEnableVertexAttribArray(GLuint  index) nogil:             # <<<<<<<<<<<<<<
 *     real_glEnableVertexAttribArray(index)
 *     check_error("glEnableVertexAttribArray")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glEnableVertexAttribArray(GLuint __pyx_v_index) {

  /* "renpy/gl2/uguugl.pyx":352
 * 
 * cdef void check_glEnableVertexAttribArray(GLuint  index) nogil:
 *     real_glEnableVertexAttribArray(index)             # <<<<<<<<<<<<<<
 *     check_error("glEnableVertexAttribArray")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glEnableVertexAttribArray(__pyx_v_index);

  /* "renpy/gl2/uguugl.pyx":353
 * cdef void check_glEnableVertexAttribArray(GLuint  index) nogil:
 *     real_glEnableVertexAttribArray(index)
 *     check_error("glEnableVertexAttribArray")             # <<<<<<<<<<<<<<
 * 
 * cdef glFinish_type real_glFinish
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glEnableVertexAttribArray"));

  /* "renpy/gl2/uguugl.pyx":351
 * cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
 * 
 * cdef void check_glEnableVertexAttribArray(GLuint  index) nogil:             # <<<<<<<<<<<<<<
 *     real_glEnableVertexAttribArray(index)
 *     check_error("glEnableVertexAttribArray")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":358
 * cdef glFinish_type glFinish
 * 
 * cdef void check_glFinish() nogil:             # <<<<<<<<<<<<<<
 *     real_glFinish()
 *     check_error("glFinish")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glFinish(void) {

  /* "renpy/gl2/uguugl.pyx":359
 * 
 * cdef void check_glFinish() nogil:
 *     real_glFinish()             # <<<<<<<<<<<<<<
 *     check_error("glFinish")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glFinish();

  /* "renpy/gl2/uguugl.pyx":360
 * cdef void check_glFinish() nogil:
 *     real_glFinish()
 *     check_error("glFinish")             # <<<<<<<<<<<<<<
 * 
 * cdef glFlush_type real_glFlush
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glFinish"));

  /* "renpy/gl2/uguugl.pyx":358
 * cdef glFinish_type glFinish
 * 
 * cdef void check_glFinish() nogil:             # <<<<<<<<<<<<<<
 *     real_glFinish()
 *     check_error("glFinish")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":365
 * cdef glFlush_type glFlush
 * 
 * cdef void check_glFlush() nogil:             # <<<<<<<<<<<<<<
 *     real_glFlush()
 *     check_error("glFlush")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glFlush(void) {

  /* "renpy/gl2/uguugl.pyx":366
 * 
 * cdef void check_glFlush() nogil:
 *     real_glFlush()             # <<<<<<<<<<<<<<
 *     check_error("glFlush")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glFlush();

  /* "renpy/gl2/uguugl.pyx":367
 * cdef void check_glFlush() nogil:
 *     real_glFlush()
 *     check_error("glFlush")             # <<<<<<<<<<<<<<
 * 
 * cdef glFramebufferRenderbuffer_type real_glFramebufferRenderbuffer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glFlush"));

  /* "renpy/gl2/uguugl.pyx":365
 * cdef glFlush_type glFlush
 * 
 * cdef void check_glFlush() nogil:             # <<<<<<<<<<<<<<
 *     real_glFlush()
 *     check_error("glFlush")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":372
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 * cdef void check_glFramebufferRenderbuffer(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 *     check_error("glFramebufferRenderbuffer")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferRenderbuffer(GLenum __pyx_v_target, GLenum __pyx_v_attachment, GLenum __pyx_v_renderbuffertarget, GLuint __pyx_v_renderbuffer) {

  /* "renpy/gl2/uguugl.pyx":373
 * 
 * cdef void check_glFramebufferRenderbuffer(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil:
 *     real_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)             # <<<<<<<<<<<<<<
 *     check_error("glFramebufferRenderbuffer")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferRenderbuffer(__pyx_v_target, __pyx_v_attachment, __pyx_v_renderbuffertarget, __pyx_v_renderbuffer);

  /* "renpy/gl2/uguugl.pyx":374
 * cdef void check_glFramebufferRenderbuffer(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil:
 *     real_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 *     check_error("glFramebufferRenderbuffer")             # <<<<<<<<<<<<<<
 * 
 * cdef glFramebufferTexture2D_type real_glFramebufferTexture2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glFramebufferRenderbuffer"));

  /* "renpy/gl2/uguugl.pyx":372
 * cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
 * 
 * cdef void check_glFramebufferRenderbuffer(GLenum  target, GLenum  attachment, GLenum  renderbuffertarget, GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     real_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer)
 *     check_error("glFramebufferRenderbuffer")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":379
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 * cdef void check_glFramebufferTexture2D(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil:             # <<<<<<<<<<<<<<
 *     real_glFramebufferTexture2D(target, attachment, textarget, texture, level)
 *     check_error("glFramebufferTexture2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferTexture2D(GLenum __pyx_v_target, GLenum __pyx_v_attachment, GLenum __pyx_v_textarget, GLuint __pyx_v_texture, GLint __pyx_v_level) {

  /* "renpy/gl2/uguugl.pyx":380
 * 
 * cdef void check_glFramebufferTexture2D(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil:
 *     real_glFramebufferTexture2D(target, attachment, textarget, texture, level)             # <<<<<<<<<<<<<<
 *     check_error("glFramebufferTexture2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferTexture2D(__pyx_v_target, __pyx_v_attachment, __pyx_v_textarget, __pyx_v_texture, __pyx_v_level);

  /* "renpy/gl2/uguugl.pyx":381
 * cdef void check_glFramebufferTexture2D(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil:
 *     real_glFramebufferTexture2D(target, attachment, textarget, texture, level)
 *     check_error("glFramebufferTexture2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glFrontFace_type real_glFrontFace
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glFramebufferTexture2D"));

  /* "renpy/gl2/uguugl.pyx":379
 * cdef glFramebufferTexture2D_type glFramebufferTexture2D
 * 
 * cdef void check_glFramebufferTexture2D(GLenum  target, GLenum  attachment, GLenum  textarget, GLuint  texture, GLint  level) nogil:             # <<<<<<<<<<<<<<
 *     real_glFramebufferTexture2D(target, attachment, textarget, texture, level)
 *     check_error("glFramebufferTexture2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":386
 * cdef glFrontFace_type glFrontFace
 * 
 * cdef void check_glFrontFace(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glFrontFace(mode)
 *     check_error("glFrontFace")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glFrontFace(GLenum __pyx_v_mode) {

  /* "renpy/gl2/uguugl.pyx":387
 * 
 * cdef void check_glFrontFace(GLenum  mode) nogil:
 *     real_glFrontFace(mode)             # <<<<<<<<<<<<<<
 *     check_error("glFrontFace")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glFrontFace(__pyx_v_mode);

  /* "renpy/gl2/uguugl.pyx":388
 * cdef void check_glFrontFace(GLenum  mode) nogil:
 *     real_glFrontFace(mode)
 *     check_error("glFrontFace")             # <<<<<<<<<<<<<<
 * 
 * cdef glGenBuffers_type real_glGenBuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glFrontFace"));

  /* "renpy/gl2/uguugl.pyx":386
 * cdef glFrontFace_type glFrontFace
 * 
 * cdef void check_glFrontFace(GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glFrontFace(mode)
 *     check_error("glFrontFace")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":393
 * cdef glGenBuffers_type glGenBuffers
 * 
 * cdef void check_glGenBuffers(GLsizei  n, GLuint * buffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenBuffers(n, buffers)
 *     check_error("glGenBuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenBuffers(GLsizei __pyx_v_n, GLuint *__pyx_v_buffers) {

  /* "renpy/gl2/uguugl.pyx":394
 * 
 * cdef void check_glGenBuffers(GLsizei  n, GLuint * buffers) nogil:
 *     real_glGenBuffers(n, buffers)             # <<<<<<<<<<<<<<
 *     check_error("glGenBuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenBuffers(__pyx_v_n, __pyx_v_buffers);

  /* "renpy/gl2/uguugl.pyx":395
 * cdef void check_glGenBuffers(GLsizei  n, GLuint * buffers) nogil:
 *     real_glGenBuffers(n, buffers)
 *     check_error("glGenBuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glGenFramebuffers_type real_glGenFramebuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGenBuffers"));

  /* "renpy/gl2/uguugl.pyx":393
 * cdef glGenBuffers_type glGenBuffers
 * 
 * cdef void check_glGenBuffers(GLsizei  n, GLuint * buffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenBuffers(n, buffers)
 *     check_error("glGenBuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":400
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 * cdef void check_glGenFramebuffers(GLsizei  n, GLuint * framebuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenFramebuffers(n, framebuffers)
 *     check_error("glGenFramebuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenFramebuffers(GLsizei __pyx_v_n, GLuint *__pyx_v_framebuffers) {

  /* "renpy/gl2/uguugl.pyx":401
 * 
 * cdef void check_glGenFramebuffers(GLsizei  n, GLuint * framebuffers) nogil:
 *     real_glGenFramebuffers(n, framebuffers)             # <<<<<<<<<<<<<<
 *     check_error("glGenFramebuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenFramebuffers(__pyx_v_n, __pyx_v_framebuffers);

  /* "renpy/gl2/uguugl.pyx":402
 * cdef void check_glGenFramebuffers(GLsizei  n, GLuint * framebuffers) nogil:
 *     real_glGenFramebuffers(n, framebuffers)
 *     check_error("glGenFramebuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glGenRenderbuffers_type real_glGenRenderbuffers
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGenFramebuffers"));

  /* "renpy/gl2/uguugl.pyx":400
 * cdef glGenFramebuffers_type glGenFramebuffers
 * 
 * cdef void check_glGenFramebuffers(GLsizei  n, GLuint * framebuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenFramebuffers(n, framebuffers)
 *     check_error("glGenFramebuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":407
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 * cdef void check_glGenRenderbuffers(GLsizei  n, GLuint * renderbuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenRenderbuffers(n, renderbuffers)
 *     check_error("glGenRenderbuffers")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenRenderbuffers(GLsizei __pyx_v_n, GLuint *__pyx_v_renderbuffers) {

  /* "renpy/gl2/uguugl.pyx":408
 * 
 * cdef void check_glGenRenderbuffers(GLsizei  n, GLuint * renderbuffers) nogil:
 *     real_glGenRenderbuffers(n, renderbuffers)             # <<<<<<<<<<<<<<
 *     check_error("glGenRenderbuffers")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenRenderbuffers(__pyx_v_n, __pyx_v_renderbuffers);

  /* "renpy/gl2/uguugl.pyx":409
 * cdef void check_glGenRenderbuffers(GLsizei  n, GLuint * renderbuffers) nogil:
 *     real_glGenRenderbuffers(n, renderbuffers)
 *     check_error("glGenRenderbuffers")             # <<<<<<<<<<<<<<
 * 
 * cdef glGenTextures_type real_glGenTextures
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGenRenderbuffers"));

  /* "renpy/gl2/uguugl.pyx":407
 * cdef glGenRenderbuffers_type glGenRenderbuffers
 * 
 * cdef void check_glGenRenderbuffers(GLsizei  n, GLuint * renderbuffers) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenRenderbuffers(n, renderbuffers)
 *     check_error("glGenRenderbuffers")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":414
 * cdef glGenTextures_type glGenTextures
 * 
 * cdef void check_glGenTextures(GLsizei  n, GLuint * textures) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenTextures(n, textures)
 *     check_error("glGenTextures")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenTextures(GLsizei __pyx_v_n, GLuint *__pyx_v_textures) {

  /* "renpy/gl2/uguugl.pyx":415
 * 
 * cdef void check_glGenTextures(GLsizei  n, GLuint * textures) nogil:
 *     real_glGenTextures(n, textures)             # <<<<<<<<<<<<<<
 *     check_error("glGenTextures")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenTextures(__pyx_v_n, __pyx_v_textures);

  /* "renpy/gl2/uguugl.pyx":416
 * cdef void check_glGenTextures(GLsizei  n, GLuint * textures) nogil:
 *     real_glGenTextures(n, textures)
 *     check_error("glGenTextures")             # <<<<<<<<<<<<<<
 * 
 * cdef glGenerateMipmap_type real_glGenerateMipmap
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGenTextures"));

  /* "renpy/gl2/uguugl.pyx":414
 * cdef glGenTextures_type glGenTextures
 * 
 * cdef void check_glGenTextures(GLsizei  n, GLuint * textures) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenTextures(n, textures)
 *     check_error("glGenTextures")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":421
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 * cdef void check_glGenerateMipmap(GLenum  target) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenerateMipmap(target)
 *     check_error("glGenerateMipmap")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGenerateMipmap(GLenum __pyx_v_target) {

  /* "renpy/gl2/uguugl.pyx":422
 * 
 * cdef void check_glGenerateMipmap(GLenum  target) nogil:
 *     real_glGenerateMipmap(target)             # <<<<<<<<<<<<<<
 *     check_error("glGenerateMipmap")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenerateMipmap(__pyx_v_target);

  /* "renpy/gl2/uguugl.pyx":423
 * cdef void check_glGenerateMipmap(GLenum  target) nogil:
 *     real_glGenerateMipmap(target)
 *     check_error("glGenerateMipmap")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetActiveAttrib_type real_glGetActiveAttrib
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGenerateMipmap"));

  /* "renpy/gl2/uguugl.pyx":421
 * cdef glGenerateMipmap_type glGenerateMipmap
 * 
 * cdef void check_glGenerateMipmap(GLenum  target) nogil:             # <<<<<<<<<<<<<<
 *     real_glGenerateMipmap(target)
 *     check_error("glGenerateMipmap")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":428
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 * cdef void check_glGetActiveAttrib(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetActiveAttrib(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveAttrib")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveAttrib(GLuint __pyx_v_program, GLuint __pyx_v_index, GLsizei __pyx_v_bufSize, GLsizei *__pyx_v_length, GLint *__pyx_v_size, GLenum *__pyx_v_type, GLchar *__pyx_v_name) {

  /* "renpy/gl2/uguugl.pyx":429
 * 
 * cdef void check_glGetActiveAttrib(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:
 *     real_glGetActiveAttrib(program, index, bufSize, length, size, type, name)             # <<<<<<<<<<<<<<
 *     check_error("glGetActiveAttrib")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveAttrib(__pyx_v_program, __pyx_v_index, __pyx_v_bufSize, __pyx_v_length, __pyx_v_size, __pyx_v_type, __pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":430
 * cdef void check_glGetActiveAttrib(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:
 *     real_glGetActiveAttrib(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveAttrib")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetActiveUniform_type real_glGetActiveUniform
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetActiveAttrib"));

  /* "renpy/gl2/uguugl.pyx":428
 * cdef glGetActiveAttrib_type glGetActiveAttrib
 * 
 * cdef void check_glGetActiveAttrib(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetActiveAttrib(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveAttrib")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":435
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 * cdef void check_glGetActiveUniform(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetActiveUniform(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveUniform")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveUniform(GLuint __pyx_v_program, GLuint __pyx_v_index, GLsizei __pyx_v_bufSize, GLsizei *__pyx_v_length, GLint *__pyx_v_size, GLenum *__pyx_v_type, GLchar *__pyx_v_name) {

  /* "renpy/gl2/uguugl.pyx":436
 * 
 * cdef void check_glGetActiveUniform(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:
 *     real_glGetActiveUniform(program, index, bufSize, length, size, type, name)             # <<<<<<<<<<<<<<
 *     check_error("glGetActiveUniform")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveUniform(__pyx_v_program, __pyx_v_index, __pyx_v_bufSize, __pyx_v_length, __pyx_v_size, __pyx_v_type, __pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":437
 * cdef void check_glGetActiveUniform(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:
 *     real_glGetActiveUniform(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveUniform")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetAttachedShaders_type real_glGetAttachedShaders
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetActiveUniform"));

  /* "renpy/gl2/uguugl.pyx":435
 * cdef glGetActiveUniform_type glGetActiveUniform
 * 
 * cdef void check_glGetActiveUniform(GLuint  program, GLuint  index, GLsizei  bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetActiveUniform(program, index, bufSize, length, size, type, name)
 *     check_error("glGetActiveUniform")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":442
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 * cdef void check_glGetAttachedShaders(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetAttachedShaders(program, maxCount, count, shaders)
 *     check_error("glGetAttachedShaders")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttachedShaders(GLuint __pyx_v_program, GLsizei __pyx_v_maxCount, GLsizei *__pyx_v_count, GLuint *__pyx_v_shaders) {

  /* "renpy/gl2/uguugl.pyx":443
 * 
 * cdef void check_glGetAttachedShaders(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil:
 *     real_glGetAttachedShaders(program, maxCount, count, shaders)             # <<<<<<<<<<<<<<
 *     check_error("glGetAttachedShaders")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttachedShaders(__pyx_v_program, __pyx_v_maxCount, __pyx_v_count, __pyx_v_shaders);

  /* "renpy/gl2/uguugl.pyx":444
 * cdef void check_glGetAttachedShaders(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil:
 *     real_glGetAttachedShaders(program, maxCount, count, shaders)
 *     check_error("glGetAttachedShaders")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetAttribLocation_type real_glGetAttribLocation
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetAttachedShaders"));

  /* "renpy/gl2/uguugl.pyx":442
 * cdef glGetAttachedShaders_type glGetAttachedShaders
 * 
 * cdef void check_glGetAttachedShaders(GLuint  program, GLsizei  maxCount, GLsizei * count, GLuint * shaders) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetAttachedShaders(program, maxCount, count, shaders)
 *     check_error("glGetAttachedShaders")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":449
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 * cdef GLint check_glGetAttribLocation(GLuint  program, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLint rv
 *     rv = real_glGetAttribLocation(program, name)
 */

static GLint __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttribLocation(GLuint __pyx_v_program, GLchar const *__pyx_v_name) {
  GLint __pyx_v_rv;
  GLint __pyx_r;

  /* "renpy/gl2/uguugl.pyx":451
 * cdef GLint check_glGetAttribLocation(GLuint  program, const GLchar * name) nogil:
 *     cdef GLint rv
 *     rv = real_glGetAttribLocation(program, name)             # <<<<<<<<<<<<<<
 *     check_error("glGetAttribLocation")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttribLocation(__pyx_v_program, __pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":452
 *     cdef GLint rv
 *     rv = real_glGetAttribLocation(program, name)
 *     check_error("glGetAttribLocation")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetAttribLocation"));

  /* "renpy/gl2/uguugl.pyx":453
 *     rv = real_glGetAttribLocation(program, name)
 *     check_error("glGetAttribLocation")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glGetBooleanv_type real_glGetBooleanv
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":449
 * cdef glGetAttribLocation_type glGetAttribLocation
 * 
 * cdef GLint check_glGetAttribLocation(GLuint  program, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLint rv
 *     rv = real_glGetAttribLocation(program, name)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":458
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 * cdef void check_glGetBooleanv(GLenum  pname, GLboolean * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetBooleanv(pname, data)
 *     check_error("glGetBooleanv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetBooleanv(GLenum __pyx_v_pname, GLboolean *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":459
 * 
 * cdef void check_glGetBooleanv(GLenum  pname, GLboolean * data) nogil:
 *     real_glGetBooleanv(pname, data)             # <<<<<<<<<<<<<<
 *     check_error("glGetBooleanv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetBooleanv(__pyx_v_pname, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":460
 * cdef void check_glGetBooleanv(GLenum  pname, GLboolean * data) nogil:
 *     real_glGetBooleanv(pname, data)
 *     check_error("glGetBooleanv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetBufferParameteriv_type real_glGetBufferParameteriv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetBooleanv"));

  /* "renpy/gl2/uguugl.pyx":458
 * cdef glGetBooleanv_type glGetBooleanv
 * 
 * cdef void check_glGetBooleanv(GLenum  pname, GLboolean * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetBooleanv(pname, data)
 *     check_error("glGetBooleanv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":465
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 * cdef void check_glGetBufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetBufferParameteriv(target, pname, params)
 *     check_error("glGetBufferParameteriv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetBufferParameteriv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":466
 * 
 * cdef void check_glGetBufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetBufferParameteriv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetBufferParameteriv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetBufferParameteriv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":467
 * cdef void check_glGetBufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetBufferParameteriv(target, pname, params)
 *     check_error("glGetBufferParameteriv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetError_type real_glGetError
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetBufferParameteriv"));

  /* "renpy/gl2/uguugl.pyx":465
 * cdef glGetBufferParameteriv_type glGetBufferParameteriv
 * 
 * cdef void check_glGetBufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetBufferParameteriv(target, pname, params)
 *     check_error("glGetBufferParameteriv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":472
 * cdef glGetError_type glGetError
 * 
 * cdef GLenum check_glGetError() nogil:             # <<<<<<<<<<<<<<
 *     cdef GLenum rv
 *     rv = real_glGetError()
 */

static GLenum __pyx_f_5renpy_3gl2_6uguugl_check_glGetError(void) {
  GLenum __pyx_v_rv;
  GLenum __pyx_r;

  /* "renpy/gl2/uguugl.pyx":474
 * cdef GLenum check_glGetError() nogil:
 *     cdef GLenum rv
 *     rv = real_glGetError()             # <<<<<<<<<<<<<<
 *     check_error("glGetError")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetError();

  /* "renpy/gl2/uguugl.pyx":475
 *     cdef GLenum rv
 *     rv = real_glGetError()
 *     check_error("glGetError")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetError"));

  /* "renpy/gl2/uguugl.pyx":476
 *     rv = real_glGetError()
 *     check_error("glGetError")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glGetFloatv_type real_glGetFloatv
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":472
 * cdef glGetError_type glGetError
 * 
 * cdef GLenum check_glGetError() nogil:             # <<<<<<<<<<<<<<
 *     cdef GLenum rv
 *     rv = real_glGetError()
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":481
 * cdef glGetFloatv_type glGetFloatv
 * 
 * cdef void check_glGetFloatv(GLenum  pname, GLfloat * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetFloatv(pname, data)
 *     check_error("glGetFloatv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetFloatv(GLenum __pyx_v_pname, GLfloat *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":482
 * 
 * cdef void check_glGetFloatv(GLenum  pname, GLfloat * data) nogil:
 *     real_glGetFloatv(pname, data)             # <<<<<<<<<<<<<<
 *     check_error("glGetFloatv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetFloatv(__pyx_v_pname, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":483
 * cdef void check_glGetFloatv(GLenum  pname, GLfloat * data) nogil:
 *     real_glGetFloatv(pname, data)
 *     check_error("glGetFloatv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetFramebufferAttachmentParameteriv_type real_glGetFramebufferAttachmentParameteriv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetFloatv"));

  /* "renpy/gl2/uguugl.pyx":481
 * cdef glGetFloatv_type glGetFloatv
 * 
 * cdef void check_glGetFloatv(GLenum  pname, GLfloat * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetFloatv(pname, data)
 *     check_error("glGetFloatv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":488
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 * cdef void check_glGetFramebufferAttachmentParameteriv(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)
 *     check_error("glGetFramebufferAttachmentParameteriv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetFramebufferAttachmentParameteriv(GLenum __pyx_v_target, GLenum __pyx_v_attachment, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":489
 * 
 * cdef void check_glGetFramebufferAttachmentParameteriv(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil:
 *     real_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetFramebufferAttachmentParameteriv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetFramebufferAttachmentParameteriv(__pyx_v_target, __pyx_v_attachment, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":490
 * cdef void check_glGetFramebufferAttachmentParameteriv(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil:
 *     real_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)
 *     check_error("glGetFramebufferAttachmentParameteriv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetIntegerv_type real_glGetIntegerv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetFramebufferAttachmentParameteriv"));

  /* "renpy/gl2/uguugl.pyx":488
 * cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
 * 
 * cdef void check_glGetFramebufferAttachmentParameteriv(GLenum  target, GLenum  attachment, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params)
 *     check_error("glGetFramebufferAttachmentParameteriv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":495
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 * cdef void check_glGetIntegerv(GLenum  pname, GLint * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetIntegerv(pname, data)
 *     check_error("glGetIntegerv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetIntegerv(GLenum __pyx_v_pname, GLint *__pyx_v_data) {

  /* "renpy/gl2/uguugl.pyx":496
 * 
 * cdef void check_glGetIntegerv(GLenum  pname, GLint * data) nogil:
 *     real_glGetIntegerv(pname, data)             # <<<<<<<<<<<<<<
 *     check_error("glGetIntegerv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetIntegerv(__pyx_v_pname, __pyx_v_data);

  /* "renpy/gl2/uguugl.pyx":497
 * cdef void check_glGetIntegerv(GLenum  pname, GLint * data) nogil:
 *     real_glGetIntegerv(pname, data)
 *     check_error("glGetIntegerv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetProgramInfoLog_type real_glGetProgramInfoLog
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetIntegerv"));

  /* "renpy/gl2/uguugl.pyx":495
 * cdef glGetIntegerv_type glGetIntegerv
 * 
 * cdef void check_glGetIntegerv(GLenum  pname, GLint * data) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetIntegerv(pname, data)
 *     check_error("glGetIntegerv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":502
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 * cdef void check_glGetProgramInfoLog(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetProgramInfoLog(program, bufSize, length, infoLog)
 *     check_error("glGetProgramInfoLog")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramInfoLog(GLuint __pyx_v_program, GLsizei __pyx_v_bufSize, GLsizei *__pyx_v_length, GLchar *__pyx_v_infoLog) {

  /* "renpy/gl2/uguugl.pyx":503
 * 
 * cdef void check_glGetProgramInfoLog(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:
 *     real_glGetProgramInfoLog(program, bufSize, length, infoLog)             # <<<<<<<<<<<<<<
 *     check_error("glGetProgramInfoLog")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramInfoLog(__pyx_v_program, __pyx_v_bufSize, __pyx_v_length, __pyx_v_infoLog);

  /* "renpy/gl2/uguugl.pyx":504
 * cdef void check_glGetProgramInfoLog(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:
 *     real_glGetProgramInfoLog(program, bufSize, length, infoLog)
 *     check_error("glGetProgramInfoLog")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetProgramiv_type real_glGetProgramiv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetProgramInfoLog"));

  /* "renpy/gl2/uguugl.pyx":502
 * cdef glGetProgramInfoLog_type glGetProgramInfoLog
 * 
 * cdef void check_glGetProgramInfoLog(GLuint  program, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetProgramInfoLog(program, bufSize, length, infoLog)
 *     check_error("glGetProgramInfoLog")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":509
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 * cdef void check_glGetProgramiv(GLuint  program, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetProgramiv(program, pname, params)
 *     check_error("glGetProgramiv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramiv(GLuint __pyx_v_program, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":510
 * 
 * cdef void check_glGetProgramiv(GLuint  program, GLenum  pname, GLint * params) nogil:
 *     real_glGetProgramiv(program, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetProgramiv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramiv(__pyx_v_program, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":511
 * cdef void check_glGetProgramiv(GLuint  program, GLenum  pname, GLint * params) nogil:
 *     real_glGetProgramiv(program, pname, params)
 *     check_error("glGetProgramiv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetRenderbufferParameteriv_type real_glGetRenderbufferParameteriv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetProgramiv"));

  /* "renpy/gl2/uguugl.pyx":509
 * cdef glGetProgramiv_type glGetProgramiv
 * 
 * cdef void check_glGetProgramiv(GLuint  program, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetProgramiv(program, pname, params)
 *     check_error("glGetProgramiv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":516
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 * cdef void check_glGetRenderbufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetRenderbufferParameteriv(target, pname, params)
 *     check_error("glGetRenderbufferParameteriv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetRenderbufferParameteriv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":517
 * 
 * cdef void check_glGetRenderbufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetRenderbufferParameteriv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetRenderbufferParameteriv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetRenderbufferParameteriv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":518
 * cdef void check_glGetRenderbufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetRenderbufferParameteriv(target, pname, params)
 *     check_error("glGetRenderbufferParameteriv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetShaderInfoLog_type real_glGetShaderInfoLog
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetRenderbufferParameteriv"));

  /* "renpy/gl2/uguugl.pyx":516
 * cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
 * 
 * cdef void check_glGetRenderbufferParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetRenderbufferParameteriv(target, pname, params)
 *     check_error("glGetRenderbufferParameteriv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":523
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 * cdef void check_glGetShaderInfoLog(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderInfoLog(shader, bufSize, length, infoLog)
 *     check_error("glGetShaderInfoLog")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderInfoLog(GLuint __pyx_v_shader, GLsizei __pyx_v_bufSize, GLsizei *__pyx_v_length, GLchar *__pyx_v_infoLog) {

  /* "renpy/gl2/uguugl.pyx":524
 * 
 * cdef void check_glGetShaderInfoLog(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:
 *     real_glGetShaderInfoLog(shader, bufSize, length, infoLog)             # <<<<<<<<<<<<<<
 *     check_error("glGetShaderInfoLog")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderInfoLog(__pyx_v_shader, __pyx_v_bufSize, __pyx_v_length, __pyx_v_infoLog);

  /* "renpy/gl2/uguugl.pyx":525
 * cdef void check_glGetShaderInfoLog(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:
 *     real_glGetShaderInfoLog(shader, bufSize, length, infoLog)
 *     check_error("glGetShaderInfoLog")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetShaderSource_type real_glGetShaderSource
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetShaderInfoLog"));

  /* "renpy/gl2/uguugl.pyx":523
 * cdef glGetShaderInfoLog_type glGetShaderInfoLog
 * 
 * cdef void check_glGetShaderInfoLog(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * infoLog) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderInfoLog(shader, bufSize, length, infoLog)
 *     check_error("glGetShaderInfoLog")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":530
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 * cdef void check_glGetShaderSource(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderSource(shader, bufSize, length, source)
 *     check_error("glGetShaderSource")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderSource(GLuint __pyx_v_shader, GLsizei __pyx_v_bufSize, GLsizei *__pyx_v_length, GLchar *__pyx_v_source) {

  /* "renpy/gl2/uguugl.pyx":531
 * 
 * cdef void check_glGetShaderSource(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil:
 *     real_glGetShaderSource(shader, bufSize, length, source)             # <<<<<<<<<<<<<<
 *     check_error("glGetShaderSource")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderSource(__pyx_v_shader, __pyx_v_bufSize, __pyx_v_length, __pyx_v_source);

  /* "renpy/gl2/uguugl.pyx":532
 * cdef void check_glGetShaderSource(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil:
 *     real_glGetShaderSource(shader, bufSize, length, source)
 *     check_error("glGetShaderSource")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetShaderiv_type real_glGetShaderiv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetShaderSource"));

  /* "renpy/gl2/uguugl.pyx":530
 * cdef glGetShaderSource_type glGetShaderSource
 * 
 * cdef void check_glGetShaderSource(GLuint  shader, GLsizei  bufSize, GLsizei * length, GLchar * source) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderSource(shader, bufSize, length, source)
 *     check_error("glGetShaderSource")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":537
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 * cdef void check_glGetShaderiv(GLuint  shader, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderiv(shader, pname, params)
 *     check_error("glGetShaderiv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderiv(GLuint __pyx_v_shader, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":538
 * 
 * cdef void check_glGetShaderiv(GLuint  shader, GLenum  pname, GLint * params) nogil:
 *     real_glGetShaderiv(shader, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetShaderiv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderiv(__pyx_v_shader, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":539
 * cdef void check_glGetShaderiv(GLuint  shader, GLenum  pname, GLint * params) nogil:
 *     real_glGetShaderiv(shader, pname, params)
 *     check_error("glGetShaderiv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetString_type real_glGetString
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetShaderiv"));

  /* "renpy/gl2/uguugl.pyx":537
 * cdef glGetShaderiv_type glGetShaderiv
 * 
 * cdef void check_glGetShaderiv(GLuint  shader, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetShaderiv(shader, pname, params)
 *     check_error("glGetShaderiv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":544
 * cdef glGetString_type glGetString
 * 
 * cdef const GLubyte * check_glGetString(GLenum  name) nogil:             # <<<<<<<<<<<<<<
 *     cdef const GLubyte * rv
 *     rv = real_glGetString(name)
 */

static GLubyte const *__pyx_f_5renpy_3gl2_6uguugl_check_glGetString(GLenum __pyx_v_name) {
  GLubyte const *__pyx_v_rv;
  GLubyte const *__pyx_r;

  /* "renpy/gl2/uguugl.pyx":546
 * cdef const GLubyte * check_glGetString(GLenum  name) nogil:
 *     cdef const GLubyte * rv
 *     rv = real_glGetString(name)             # <<<<<<<<<<<<<<
 *     check_error("glGetString")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetString(__pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":547
 *     cdef const GLubyte * rv
 *     rv = real_glGetString(name)
 *     check_error("glGetString")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetString"));

  /* "renpy/gl2/uguugl.pyx":548
 *     rv = real_glGetString(name)
 *     check_error("glGetString")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glGetTexParameterfv_type real_glGetTexParameterfv
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":544
 * cdef glGetString_type glGetString
 * 
 * cdef const GLubyte * check_glGetString(GLenum  name) nogil:             # <<<<<<<<<<<<<<
 *     cdef const GLubyte * rv
 *     rv = real_glGetString(name)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":553
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 * cdef void check_glGetTexParameterfv(GLenum  target, GLenum  pname, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetTexParameterfv(target, pname, params)
 *     check_error("glGetTexParameterfv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameterfv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLfloat *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":554
 * 
 * cdef void check_glGetTexParameterfv(GLenum  target, GLenum  pname, GLfloat * params) nogil:
 *     real_glGetTexParameterfv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetTexParameterfv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameterfv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":555
 * cdef void check_glGetTexParameterfv(GLenum  target, GLenum  pname, GLfloat * params) nogil:
 *     real_glGetTexParameterfv(target, pname, params)
 *     check_error("glGetTexParameterfv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetTexParameteriv_type real_glGetTexParameteriv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetTexParameterfv"));

  /* "renpy/gl2/uguugl.pyx":553
 * cdef glGetTexParameterfv_type glGetTexParameterfv
 * 
 * cdef void check_glGetTexParameterfv(GLenum  target, GLenum  pname, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetTexParameterfv(target, pname, params)
 *     check_error("glGetTexParameterfv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":560
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 * cdef void check_glGetTexParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetTexParameteriv(target, pname, params)
 *     check_error("glGetTexParameteriv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameteriv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":561
 * 
 * cdef void check_glGetTexParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetTexParameteriv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetTexParameteriv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameteriv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":562
 * cdef void check_glGetTexParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:
 *     real_glGetTexParameteriv(target, pname, params)
 *     check_error("glGetTexParameteriv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetUniformLocation_type real_glGetUniformLocation
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetTexParameteriv"));

  /* "renpy/gl2/uguugl.pyx":560
 * cdef glGetTexParameteriv_type glGetTexParameteriv
 * 
 * cdef void check_glGetTexParameteriv(GLenum  target, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetTexParameteriv(target, pname, params)
 *     check_error("glGetTexParameteriv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":567
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 * cdef GLint check_glGetUniformLocation(GLuint  program, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLint rv
 *     rv = real_glGetUniformLocation(program, name)
 */

static GLint __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformLocation(GLuint __pyx_v_program, GLchar const *__pyx_v_name) {
  GLint __pyx_v_rv;
  GLint __pyx_r;

  /* "renpy/gl2/uguugl.pyx":569
 * cdef GLint check_glGetUniformLocation(GLuint  program, const GLchar * name) nogil:
 *     cdef GLint rv
 *     rv = real_glGetUniformLocation(program, name)             # <<<<<<<<<<<<<<
 *     check_error("glGetUniformLocation")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformLocation(__pyx_v_program, __pyx_v_name);

  /* "renpy/gl2/uguugl.pyx":570
 *     cdef GLint rv
 *     rv = real_glGetUniformLocation(program, name)
 *     check_error("glGetUniformLocation")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetUniformLocation"));

  /* "renpy/gl2/uguugl.pyx":571
 *     rv = real_glGetUniformLocation(program, name)
 *     check_error("glGetUniformLocation")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glGetUniformfv_type real_glGetUniformfv
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":567
 * cdef glGetUniformLocation_type glGetUniformLocation
 * 
 * cdef GLint check_glGetUniformLocation(GLuint  program, const GLchar * name) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLint rv
 *     rv = real_glGetUniformLocation(program, name)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":576
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 * cdef void check_glGetUniformfv(GLuint  program, GLint  location, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetUniformfv(program, location, params)
 *     check_error("glGetUniformfv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformfv(GLuint __pyx_v_program, GLint __pyx_v_location, GLfloat *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":577
 * 
 * cdef void check_glGetUniformfv(GLuint  program, GLint  location, GLfloat * params) nogil:
 *     real_glGetUniformfv(program, location, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetUniformfv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformfv(__pyx_v_program, __pyx_v_location, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":578
 * cdef void check_glGetUniformfv(GLuint  program, GLint  location, GLfloat * params) nogil:
 *     real_glGetUniformfv(program, location, params)
 *     check_error("glGetUniformfv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetUniformiv_type real_glGetUniformiv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetUniformfv"));

  /* "renpy/gl2/uguugl.pyx":576
 * cdef glGetUniformfv_type glGetUniformfv
 * 
 * cdef void check_glGetUniformfv(GLuint  program, GLint  location, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetUniformfv(program, location, params)
 *     check_error("glGetUniformfv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":583
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 * cdef void check_glGetUniformiv(GLuint  program, GLint  location, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetUniformiv(program, location, params)
 *     check_error("glGetUniformiv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformiv(GLuint __pyx_v_program, GLint __pyx_v_location, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":584
 * 
 * cdef void check_glGetUniformiv(GLuint  program, GLint  location, GLint * params) nogil:
 *     real_glGetUniformiv(program, location, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetUniformiv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformiv(__pyx_v_program, __pyx_v_location, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":585
 * cdef void check_glGetUniformiv(GLuint  program, GLint  location, GLint * params) nogil:
 *     real_glGetUniformiv(program, location, params)
 *     check_error("glGetUniformiv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetVertexAttribPointerv_type real_glGetVertexAttribPointerv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetUniformiv"));

  /* "renpy/gl2/uguugl.pyx":583
 * cdef glGetUniformiv_type glGetUniformiv
 * 
 * cdef void check_glGetUniformiv(GLuint  program, GLint  location, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetUniformiv(program, location, params)
 *     check_error("glGetUniformiv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":590
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 * cdef void check_glGetVertexAttribPointerv(GLuint  index, GLenum  pname, void ** pointer) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribPointerv(index, pname, pointer)
 *     check_error("glGetVertexAttribPointerv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribPointerv(GLuint __pyx_v_index, GLenum __pyx_v_pname, void **__pyx_v_pointer) {

  /* "renpy/gl2/uguugl.pyx":591
 * 
 * cdef void check_glGetVertexAttribPointerv(GLuint  index, GLenum  pname, void ** pointer) nogil:
 *     real_glGetVertexAttribPointerv(index, pname, pointer)             # <<<<<<<<<<<<<<
 *     check_error("glGetVertexAttribPointerv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribPointerv(__pyx_v_index, __pyx_v_pname, __pyx_v_pointer);

  /* "renpy/gl2/uguugl.pyx":592
 * cdef void check_glGetVertexAttribPointerv(GLuint  index, GLenum  pname, void ** pointer) nogil:
 *     real_glGetVertexAttribPointerv(index, pname, pointer)
 *     check_error("glGetVertexAttribPointerv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetVertexAttribfv_type real_glGetVertexAttribfv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetVertexAttribPointerv"));

  /* "renpy/gl2/uguugl.pyx":590
 * cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
 * 
 * cdef void check_glGetVertexAttribPointerv(GLuint  index, GLenum  pname, void ** pointer) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribPointerv(index, pname, pointer)
 *     check_error("glGetVertexAttribPointerv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":597
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 * cdef void check_glGetVertexAttribfv(GLuint  index, GLenum  pname, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribfv(index, pname, params)
 *     check_error("glGetVertexAttribfv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribfv(GLuint __pyx_v_index, GLenum __pyx_v_pname, GLfloat *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":598
 * 
 * cdef void check_glGetVertexAttribfv(GLuint  index, GLenum  pname, GLfloat * params) nogil:
 *     real_glGetVertexAttribfv(index, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetVertexAttribfv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribfv(__pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":599
 * cdef void check_glGetVertexAttribfv(GLuint  index, GLenum  pname, GLfloat * params) nogil:
 *     real_glGetVertexAttribfv(index, pname, params)
 *     check_error("glGetVertexAttribfv")             # <<<<<<<<<<<<<<
 * 
 * cdef glGetVertexAttribiv_type real_glGetVertexAttribiv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetVertexAttribfv"));

  /* "renpy/gl2/uguugl.pyx":597
 * cdef glGetVertexAttribfv_type glGetVertexAttribfv
 * 
 * cdef void check_glGetVertexAttribfv(GLuint  index, GLenum  pname, GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribfv(index, pname, params)
 *     check_error("glGetVertexAttribfv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":604
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 * cdef void check_glGetVertexAttribiv(GLuint  index, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribiv(index, pname, params)
 *     check_error("glGetVertexAttribiv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribiv(GLuint __pyx_v_index, GLenum __pyx_v_pname, GLint *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":605
 * 
 * cdef void check_glGetVertexAttribiv(GLuint  index, GLenum  pname, GLint * params) nogil:
 *     real_glGetVertexAttribiv(index, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glGetVertexAttribiv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribiv(__pyx_v_index, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":606
 * cdef void check_glGetVertexAttribiv(GLuint  index, GLenum  pname, GLint * params) nogil:
 *     real_glGetVertexAttribiv(index, pname, params)
 *     check_error("glGetVertexAttribiv")             # <<<<<<<<<<<<<<
 * 
 * cdef glHint_type real_glHint
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glGetVertexAttribiv"));

  /* "renpy/gl2/uguugl.pyx":604
 * cdef glGetVertexAttribiv_type glGetVertexAttribiv
 * 
 * cdef void check_glGetVertexAttribiv(GLuint  index, GLenum  pname, GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glGetVertexAttribiv(index, pname, params)
 *     check_error("glGetVertexAttribiv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":611
 * cdef glHint_type glHint
 * 
 * cdef void check_glHint(GLenum  target, GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glHint(target, mode)
 *     check_error("glHint")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glHint(GLenum __pyx_v_target, GLenum __pyx_v_mode) {

  /* "renpy/gl2/uguugl.pyx":612
 * 
 * cdef void check_glHint(GLenum  target, GLenum  mode) nogil:
 *     real_glHint(target, mode)             # <<<<<<<<<<<<<<
 *     check_error("glHint")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glHint(__pyx_v_target, __pyx_v_mode);

  /* "renpy/gl2/uguugl.pyx":613
 * cdef void check_glHint(GLenum  target, GLenum  mode) nogil:
 *     real_glHint(target, mode)
 *     check_error("glHint")             # <<<<<<<<<<<<<<
 * 
 * cdef glIsBuffer_type real_glIsBuffer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glHint"));

  /* "renpy/gl2/uguugl.pyx":611
 * cdef glHint_type glHint
 * 
 * cdef void check_glHint(GLenum  target, GLenum  mode) nogil:             # <<<<<<<<<<<<<<
 *     real_glHint(target, mode)
 *     check_error("glHint")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":618
 * cdef glIsBuffer_type glIsBuffer
 * 
 * cdef GLboolean check_glIsBuffer(GLuint  buffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsBuffer(buffer)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsBuffer(GLuint __pyx_v_buffer) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":620
 * cdef GLboolean check_glIsBuffer(GLuint  buffer) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsBuffer(buffer)             # <<<<<<<<<<<<<<
 *     check_error("glIsBuffer")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsBuffer(__pyx_v_buffer);

  /* "renpy/gl2/uguugl.pyx":621
 *     cdef GLboolean rv
 *     rv = real_glIsBuffer(buffer)
 *     check_error("glIsBuffer")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsBuffer"));

  /* "renpy/gl2/uguugl.pyx":622
 *     rv = real_glIsBuffer(buffer)
 *     check_error("glIsBuffer")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsEnabled_type real_glIsEnabled
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":618
 * cdef glIsBuffer_type glIsBuffer
 * 
 * cdef GLboolean check_glIsBuffer(GLuint  buffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsBuffer(buffer)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":627
 * cdef glIsEnabled_type glIsEnabled
 * 
 * cdef GLboolean check_glIsEnabled(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsEnabled(cap)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsEnabled(GLenum __pyx_v_cap) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":629
 * cdef GLboolean check_glIsEnabled(GLenum  cap) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsEnabled(cap)             # <<<<<<<<<<<<<<
 *     check_error("glIsEnabled")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsEnabled(__pyx_v_cap);

  /* "renpy/gl2/uguugl.pyx":630
 *     cdef GLboolean rv
 *     rv = real_glIsEnabled(cap)
 *     check_error("glIsEnabled")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsEnabled"));

  /* "renpy/gl2/uguugl.pyx":631
 *     rv = real_glIsEnabled(cap)
 *     check_error("glIsEnabled")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsFramebuffer_type real_glIsFramebuffer
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":627
 * cdef glIsEnabled_type glIsEnabled
 * 
 * cdef GLboolean check_glIsEnabled(GLenum  cap) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsEnabled(cap)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":636
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 * cdef GLboolean check_glIsFramebuffer(GLuint  framebuffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsFramebuffer(framebuffer)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsFramebuffer(GLuint __pyx_v_framebuffer) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":638
 * cdef GLboolean check_glIsFramebuffer(GLuint  framebuffer) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsFramebuffer(framebuffer)             # <<<<<<<<<<<<<<
 *     check_error("glIsFramebuffer")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsFramebuffer(__pyx_v_framebuffer);

  /* "renpy/gl2/uguugl.pyx":639
 *     cdef GLboolean rv
 *     rv = real_glIsFramebuffer(framebuffer)
 *     check_error("glIsFramebuffer")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsFramebuffer"));

  /* "renpy/gl2/uguugl.pyx":640
 *     rv = real_glIsFramebuffer(framebuffer)
 *     check_error("glIsFramebuffer")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsProgram_type real_glIsProgram
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":636
 * cdef glIsFramebuffer_type glIsFramebuffer
 * 
 * cdef GLboolean check_glIsFramebuffer(GLuint  framebuffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsFramebuffer(framebuffer)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":645
 * cdef glIsProgram_type glIsProgram
 * 
 * cdef GLboolean check_glIsProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsProgram(program)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsProgram(GLuint __pyx_v_program) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":647
 * cdef GLboolean check_glIsProgram(GLuint  program) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsProgram(program)             # <<<<<<<<<<<<<<
 *     check_error("glIsProgram")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsProgram(__pyx_v_program);

  /* "renpy/gl2/uguugl.pyx":648
 *     cdef GLboolean rv
 *     rv = real_glIsProgram(program)
 *     check_error("glIsProgram")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsProgram"));

  /* "renpy/gl2/uguugl.pyx":649
 *     rv = real_glIsProgram(program)
 *     check_error("glIsProgram")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsRenderbuffer_type real_glIsRenderbuffer
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":645
 * cdef glIsProgram_type glIsProgram
 * 
 * cdef GLboolean check_glIsProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsProgram(program)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":654
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 * cdef GLboolean check_glIsRenderbuffer(GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsRenderbuffer(renderbuffer)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsRenderbuffer(GLuint __pyx_v_renderbuffer) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":656
 * cdef GLboolean check_glIsRenderbuffer(GLuint  renderbuffer) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsRenderbuffer(renderbuffer)             # <<<<<<<<<<<<<<
 *     check_error("glIsRenderbuffer")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsRenderbuffer(__pyx_v_renderbuffer);

  /* "renpy/gl2/uguugl.pyx":657
 *     cdef GLboolean rv
 *     rv = real_glIsRenderbuffer(renderbuffer)
 *     check_error("glIsRenderbuffer")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsRenderbuffer"));

  /* "renpy/gl2/uguugl.pyx":658
 *     rv = real_glIsRenderbuffer(renderbuffer)
 *     check_error("glIsRenderbuffer")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsShader_type real_glIsShader
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":654
 * cdef glIsRenderbuffer_type glIsRenderbuffer
 * 
 * cdef GLboolean check_glIsRenderbuffer(GLuint  renderbuffer) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsRenderbuffer(renderbuffer)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":663
 * cdef glIsShader_type glIsShader
 * 
 * cdef GLboolean check_glIsShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsShader(shader)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsShader(GLuint __pyx_v_shader) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":665
 * cdef GLboolean check_glIsShader(GLuint  shader) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsShader(shader)             # <<<<<<<<<<<<<<
 *     check_error("glIsShader")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsShader(__pyx_v_shader);

  /* "renpy/gl2/uguugl.pyx":666
 *     cdef GLboolean rv
 *     rv = real_glIsShader(shader)
 *     check_error("glIsShader")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsShader"));

  /* "renpy/gl2/uguugl.pyx":667
 *     rv = real_glIsShader(shader)
 *     check_error("glIsShader")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glIsTexture_type real_glIsTexture
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":663
 * cdef glIsShader_type glIsShader
 * 
 * cdef GLboolean check_glIsShader(GLuint  shader) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsShader(shader)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":672
 * cdef glIsTexture_type glIsTexture
 * 
 * cdef GLboolean check_glIsTexture(GLuint  texture) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsTexture(texture)
 */

static GLboolean __pyx_f_5renpy_3gl2_6uguugl_check_glIsTexture(GLuint __pyx_v_texture) {
  GLboolean __pyx_v_rv;
  GLboolean __pyx_r;

  /* "renpy/gl2/uguugl.pyx":674
 * cdef GLboolean check_glIsTexture(GLuint  texture) nogil:
 *     cdef GLboolean rv
 *     rv = real_glIsTexture(texture)             # <<<<<<<<<<<<<<
 *     check_error("glIsTexture")
 *     return rv
 */
  __pyx_v_rv = __pyx_v_5renpy_3gl2_6uguugl_real_glIsTexture(__pyx_v_texture);

  /* "renpy/gl2/uguugl.pyx":675
 *     cdef GLboolean rv
 *     rv = real_glIsTexture(texture)
 *     check_error("glIsTexture")             # <<<<<<<<<<<<<<
 *     return rv
 * 
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glIsTexture"));

  /* "renpy/gl2/uguugl.pyx":676
 *     rv = real_glIsTexture(texture)
 *     check_error("glIsTexture")
 *     return rv             # <<<<<<<<<<<<<<
 * 
 * cdef glLineWidth_type real_glLineWidth
 */
  __pyx_r = __pyx_v_rv;
  goto __pyx_L0;

  /* "renpy/gl2/uguugl.pyx":672
 * cdef glIsTexture_type glIsTexture
 * 
 * cdef GLboolean check_glIsTexture(GLuint  texture) nogil:             # <<<<<<<<<<<<<<
 *     cdef GLboolean rv
 *     rv = real_glIsTexture(texture)
 */

  /* function exit code */
  __pyx_L0:;
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":681
 * cdef glLineWidth_type glLineWidth
 * 
 * cdef void check_glLineWidth(GLfloat  width) nogil:             # <<<<<<<<<<<<<<
 *     real_glLineWidth(width)
 *     check_error("glLineWidth")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glLineWidth(GLfloat __pyx_v_width) {

  /* "renpy/gl2/uguugl.pyx":682
 * 
 * cdef void check_glLineWidth(GLfloat  width) nogil:
 *     real_glLineWidth(width)             # <<<<<<<<<<<<<<
 *     check_error("glLineWidth")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glLineWidth(__pyx_v_width);

  /* "renpy/gl2/uguugl.pyx":683
 * cdef void check_glLineWidth(GLfloat  width) nogil:
 *     real_glLineWidth(width)
 *     check_error("glLineWidth")             # <<<<<<<<<<<<<<
 * 
 * cdef glLinkProgram_type real_glLinkProgram
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glLineWidth"));

  /* "renpy/gl2/uguugl.pyx":681
 * cdef glLineWidth_type glLineWidth
 * 
 * cdef void check_glLineWidth(GLfloat  width) nogil:             # <<<<<<<<<<<<<<
 *     real_glLineWidth(width)
 *     check_error("glLineWidth")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":688
 * cdef glLinkProgram_type glLinkProgram
 * 
 * cdef void check_glLinkProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glLinkProgram(program)
 *     check_error("glLinkProgram")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glLinkProgram(GLuint __pyx_v_program) {

  /* "renpy/gl2/uguugl.pyx":689
 * 
 * cdef void check_glLinkProgram(GLuint  program) nogil:
 *     real_glLinkProgram(program)             # <<<<<<<<<<<<<<
 *     check_error("glLinkProgram")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glLinkProgram(__pyx_v_program);

  /* "renpy/gl2/uguugl.pyx":690
 * cdef void check_glLinkProgram(GLuint  program) nogil:
 *     real_glLinkProgram(program)
 *     check_error("glLinkProgram")             # <<<<<<<<<<<<<<
 * 
 * cdef glPixelStorei_type real_glPixelStorei
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glLinkProgram"));

  /* "renpy/gl2/uguugl.pyx":688
 * cdef glLinkProgram_type glLinkProgram
 * 
 * cdef void check_glLinkProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glLinkProgram(program)
 *     check_error("glLinkProgram")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":695
 * cdef glPixelStorei_type glPixelStorei
 * 
 * cdef void check_glPixelStorei(GLenum  pname, GLint  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glPixelStorei(pname, param)
 *     check_error("glPixelStorei")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glPixelStorei(GLenum __pyx_v_pname, GLint __pyx_v_param) {

  /* "renpy/gl2/uguugl.pyx":696
 * 
 * cdef void check_glPixelStorei(GLenum  pname, GLint  param) nogil:
 *     real_glPixelStorei(pname, param)             # <<<<<<<<<<<<<<
 *     check_error("glPixelStorei")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glPixelStorei(__pyx_v_pname, __pyx_v_param);

  /* "renpy/gl2/uguugl.pyx":697
 * cdef void check_glPixelStorei(GLenum  pname, GLint  param) nogil:
 *     real_glPixelStorei(pname, param)
 *     check_error("glPixelStorei")             # <<<<<<<<<<<<<<
 * 
 * cdef glPolygonOffset_type real_glPolygonOffset
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glPixelStorei"));

  /* "renpy/gl2/uguugl.pyx":695
 * cdef glPixelStorei_type glPixelStorei
 * 
 * cdef void check_glPixelStorei(GLenum  pname, GLint  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glPixelStorei(pname, param)
 *     check_error("glPixelStorei")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":702
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 * cdef void check_glPolygonOffset(GLfloat  factor, GLfloat  units) nogil:             # <<<<<<<<<<<<<<
 *     real_glPolygonOffset(factor, units)
 *     check_error("glPolygonOffset")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glPolygonOffset(GLfloat __pyx_v_factor, GLfloat __pyx_v_units) {

  /* "renpy/gl2/uguugl.pyx":703
 * 
 * cdef void check_glPolygonOffset(GLfloat  factor, GLfloat  units) nogil:
 *     real_glPolygonOffset(factor, units)             # <<<<<<<<<<<<<<
 *     check_error("glPolygonOffset")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glPolygonOffset(__pyx_v_factor, __pyx_v_units);

  /* "renpy/gl2/uguugl.pyx":704
 * cdef void check_glPolygonOffset(GLfloat  factor, GLfloat  units) nogil:
 *     real_glPolygonOffset(factor, units)
 *     check_error("glPolygonOffset")             # <<<<<<<<<<<<<<
 * 
 * cdef glReadPixels_type real_glReadPixels
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glPolygonOffset"));

  /* "renpy/gl2/uguugl.pyx":702
 * cdef glPolygonOffset_type glPolygonOffset
 * 
 * cdef void check_glPolygonOffset(GLfloat  factor, GLfloat  units) nogil:             # <<<<<<<<<<<<<<
 *     real_glPolygonOffset(factor, units)
 *     check_error("glPolygonOffset")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":709
 * cdef glReadPixels_type glReadPixels
 * 
 * cdef void check_glReadPixels(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glReadPixels(x, y, width, height, format, type, pixels)
 *     check_error("glReadPixels")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glReadPixels(GLint __pyx_v_x, GLint __pyx_v_y, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLenum __pyx_v_format, GLenum __pyx_v_type, void *__pyx_v_pixels) {

  /* "renpy/gl2/uguugl.pyx":710
 * 
 * cdef void check_glReadPixels(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil:
 *     real_glReadPixels(x, y, width, height, format, type, pixels)             # <<<<<<<<<<<<<<
 *     check_error("glReadPixels")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glReadPixels(__pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* "renpy/gl2/uguugl.pyx":711
 * cdef void check_glReadPixels(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil:
 *     real_glReadPixels(x, y, width, height, format, type, pixels)
 *     check_error("glReadPixels")             # <<<<<<<<<<<<<<
 * 
 * cdef glRenderbufferStorage_type real_glRenderbufferStorage
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glReadPixels"));

  /* "renpy/gl2/uguugl.pyx":709
 * cdef glReadPixels_type glReadPixels
 * 
 * cdef void check_glReadPixels(GLint  x, GLint  y, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glReadPixels(x, y, width, height, format, type, pixels)
 *     check_error("glReadPixels")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":716
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 * cdef void check_glRenderbufferStorage(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glRenderbufferStorage(target, internalformat, width, height)
 *     check_error("glRenderbufferStorage")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glRenderbufferStorage(GLenum __pyx_v_target, GLenum __pyx_v_internalformat, GLsizei __pyx_v_width, GLsizei __pyx_v_height) {

  /* "renpy/gl2/uguugl.pyx":717
 * 
 * cdef void check_glRenderbufferStorage(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil:
 *     real_glRenderbufferStorage(target, internalformat, width, height)             # <<<<<<<<<<<<<<
 *     check_error("glRenderbufferStorage")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glRenderbufferStorage(__pyx_v_target, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height);

  /* "renpy/gl2/uguugl.pyx":718
 * cdef void check_glRenderbufferStorage(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil:
 *     real_glRenderbufferStorage(target, internalformat, width, height)
 *     check_error("glRenderbufferStorage")             # <<<<<<<<<<<<<<
 * 
 * cdef glSampleCoverage_type real_glSampleCoverage
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glRenderbufferStorage"));

  /* "renpy/gl2/uguugl.pyx":716
 * cdef glRenderbufferStorage_type glRenderbufferStorage
 * 
 * cdef void check_glRenderbufferStorage(GLenum  target, GLenum  internalformat, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glRenderbufferStorage(target, internalformat, width, height)
 *     check_error("glRenderbufferStorage")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":723
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 * cdef void check_glSampleCoverage(GLfloat  value, GLboolean  invert) nogil:             # <<<<<<<<<<<<<<
 *     real_glSampleCoverage(value, invert)
 *     check_error("glSampleCoverage")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glSampleCoverage(GLfloat __pyx_v_value, GLboolean __pyx_v_invert) {

  /* "renpy/gl2/uguugl.pyx":724
 * 
 * cdef void check_glSampleCoverage(GLfloat  value, GLboolean  invert) nogil:
 *     real_glSampleCoverage(value, invert)             # <<<<<<<<<<<<<<
 *     check_error("glSampleCoverage")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glSampleCoverage(__pyx_v_value, __pyx_v_invert);

  /* "renpy/gl2/uguugl.pyx":725
 * cdef void check_glSampleCoverage(GLfloat  value, GLboolean  invert) nogil:
 *     real_glSampleCoverage(value, invert)
 *     check_error("glSampleCoverage")             # <<<<<<<<<<<<<<
 * 
 * cdef glScissor_type real_glScissor
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glSampleCoverage"));

  /* "renpy/gl2/uguugl.pyx":723
 * cdef glSampleCoverage_type glSampleCoverage
 * 
 * cdef void check_glSampleCoverage(GLfloat  value, GLboolean  invert) nogil:             # <<<<<<<<<<<<<<
 *     real_glSampleCoverage(value, invert)
 *     check_error("glSampleCoverage")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":730
 * cdef glScissor_type glScissor
 * 
 * cdef void check_glScissor(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glScissor(x, y, width, height)
 *     check_error("glScissor")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glScissor(GLint __pyx_v_x, GLint __pyx_v_y, GLsizei __pyx_v_width, GLsizei __pyx_v_height) {

  /* "renpy/gl2/uguugl.pyx":731
 * 
 * cdef void check_glScissor(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glScissor(x, y, width, height)             # <<<<<<<<<<<<<<
 *     check_error("glScissor")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glScissor(__pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* "renpy/gl2/uguugl.pyx":732
 * cdef void check_glScissor(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glScissor(x, y, width, height)
 *     check_error("glScissor")             # <<<<<<<<<<<<<<
 * 
 * cdef glShaderSource_type real_glShaderSource
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glScissor"));

  /* "renpy/gl2/uguugl.pyx":730
 * cdef glScissor_type glScissor
 * 
 * cdef void check_glScissor(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glScissor(x, y, width, height)
 *     check_error("glScissor")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":737
 * cdef glShaderSource_type glShaderSource
 * 
 * cdef void check_glShaderSource(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil:             # <<<<<<<<<<<<<<
 *     real_glShaderSource(shader, count, string, length)
 *     check_error("glShaderSource")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glShaderSource(GLuint __pyx_v_shader, GLsizei __pyx_v_count, GLchar const *const *__pyx_v_string, GLint const *__pyx_v_length) {

  /* "renpy/gl2/uguugl.pyx":738
 * 
 * cdef void check_glShaderSource(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil:
 *     real_glShaderSource(shader, count, string, length)             # <<<<<<<<<<<<<<
 *     check_error("glShaderSource")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glShaderSource(__pyx_v_shader, __pyx_v_count, __pyx_v_string, __pyx_v_length);

  /* "renpy/gl2/uguugl.pyx":739
 * cdef void check_glShaderSource(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil:
 *     real_glShaderSource(shader, count, string, length)
 *     check_error("glShaderSource")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilFunc_type real_glStencilFunc
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glShaderSource"));

  /* "renpy/gl2/uguugl.pyx":737
 * cdef glShaderSource_type glShaderSource
 * 
 * cdef void check_glShaderSource(GLuint  shader, GLsizei  count, const GLchar *const* string, const GLint * length) nogil:             # <<<<<<<<<<<<<<
 *     real_glShaderSource(shader, count, string, length)
 *     check_error("glShaderSource")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":744
 * cdef glStencilFunc_type glStencilFunc
 * 
 * cdef void check_glStencilFunc(GLenum  func, GLint  ref, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilFunc(func, ref, mask)
 *     check_error("glStencilFunc")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFunc(GLenum __pyx_v_func, GLint __pyx_v_ref, GLuint __pyx_v_mask) {

  /* "renpy/gl2/uguugl.pyx":745
 * 
 * cdef void check_glStencilFunc(GLenum  func, GLint  ref, GLuint  mask) nogil:
 *     real_glStencilFunc(func, ref, mask)             # <<<<<<<<<<<<<<
 *     check_error("glStencilFunc")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFunc(__pyx_v_func, __pyx_v_ref, __pyx_v_mask);

  /* "renpy/gl2/uguugl.pyx":746
 * cdef void check_glStencilFunc(GLenum  func, GLint  ref, GLuint  mask) nogil:
 *     real_glStencilFunc(func, ref, mask)
 *     check_error("glStencilFunc")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilFuncSeparate_type real_glStencilFuncSeparate
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilFunc"));

  /* "renpy/gl2/uguugl.pyx":744
 * cdef glStencilFunc_type glStencilFunc
 * 
 * cdef void check_glStencilFunc(GLenum  func, GLint  ref, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilFunc(func, ref, mask)
 *     check_error("glStencilFunc")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":751
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 * cdef void check_glStencilFuncSeparate(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilFuncSeparate(face, func, ref, mask)
 *     check_error("glStencilFuncSeparate")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFuncSeparate(GLenum __pyx_v_face, GLenum __pyx_v_func, GLint __pyx_v_ref, GLuint __pyx_v_mask) {

  /* "renpy/gl2/uguugl.pyx":752
 * 
 * cdef void check_glStencilFuncSeparate(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil:
 *     real_glStencilFuncSeparate(face, func, ref, mask)             # <<<<<<<<<<<<<<
 *     check_error("glStencilFuncSeparate")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFuncSeparate(__pyx_v_face, __pyx_v_func, __pyx_v_ref, __pyx_v_mask);

  /* "renpy/gl2/uguugl.pyx":753
 * cdef void check_glStencilFuncSeparate(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil:
 *     real_glStencilFuncSeparate(face, func, ref, mask)
 *     check_error("glStencilFuncSeparate")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilMask_type real_glStencilMask
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilFuncSeparate"));

  /* "renpy/gl2/uguugl.pyx":751
 * cdef glStencilFuncSeparate_type glStencilFuncSeparate
 * 
 * cdef void check_glStencilFuncSeparate(GLenum  face, GLenum  func, GLint  ref, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilFuncSeparate(face, func, ref, mask)
 *     check_error("glStencilFuncSeparate")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":758
 * cdef glStencilMask_type glStencilMask
 * 
 * cdef void check_glStencilMask(GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilMask(mask)
 *     check_error("glStencilMask")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMask(GLuint __pyx_v_mask) {

  /* "renpy/gl2/uguugl.pyx":759
 * 
 * cdef void check_glStencilMask(GLuint  mask) nogil:
 *     real_glStencilMask(mask)             # <<<<<<<<<<<<<<
 *     check_error("glStencilMask")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMask(__pyx_v_mask);

  /* "renpy/gl2/uguugl.pyx":760
 * cdef void check_glStencilMask(GLuint  mask) nogil:
 *     real_glStencilMask(mask)
 *     check_error("glStencilMask")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilMaskSeparate_type real_glStencilMaskSeparate
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilMask"));

  /* "renpy/gl2/uguugl.pyx":758
 * cdef glStencilMask_type glStencilMask
 * 
 * cdef void check_glStencilMask(GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilMask(mask)
 *     check_error("glStencilMask")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":765
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 * cdef void check_glStencilMaskSeparate(GLenum  face, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilMaskSeparate(face, mask)
 *     check_error("glStencilMaskSeparate")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMaskSeparate(GLenum __pyx_v_face, GLuint __pyx_v_mask) {

  /* "renpy/gl2/uguugl.pyx":766
 * 
 * cdef void check_glStencilMaskSeparate(GLenum  face, GLuint  mask) nogil:
 *     real_glStencilMaskSeparate(face, mask)             # <<<<<<<<<<<<<<
 *     check_error("glStencilMaskSeparate")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMaskSeparate(__pyx_v_face, __pyx_v_mask);

  /* "renpy/gl2/uguugl.pyx":767
 * cdef void check_glStencilMaskSeparate(GLenum  face, GLuint  mask) nogil:
 *     real_glStencilMaskSeparate(face, mask)
 *     check_error("glStencilMaskSeparate")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilOp_type real_glStencilOp
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilMaskSeparate"));

  /* "renpy/gl2/uguugl.pyx":765
 * cdef glStencilMaskSeparate_type glStencilMaskSeparate
 * 
 * cdef void check_glStencilMaskSeparate(GLenum  face, GLuint  mask) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilMaskSeparate(face, mask)
 *     check_error("glStencilMaskSeparate")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":772
 * cdef glStencilOp_type glStencilOp
 * 
 * cdef void check_glStencilOp(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilOp(fail, zfail, zpass)
 *     check_error("glStencilOp")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOp(GLenum __pyx_v_fail, GLenum __pyx_v_zfail, GLenum __pyx_v_zpass) {

  /* "renpy/gl2/uguugl.pyx":773
 * 
 * cdef void check_glStencilOp(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil:
 *     real_glStencilOp(fail, zfail, zpass)             # <<<<<<<<<<<<<<
 *     check_error("glStencilOp")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOp(__pyx_v_fail, __pyx_v_zfail, __pyx_v_zpass);

  /* "renpy/gl2/uguugl.pyx":774
 * cdef void check_glStencilOp(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil:
 *     real_glStencilOp(fail, zfail, zpass)
 *     check_error("glStencilOp")             # <<<<<<<<<<<<<<
 * 
 * cdef glStencilOpSeparate_type real_glStencilOpSeparate
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilOp"));

  /* "renpy/gl2/uguugl.pyx":772
 * cdef glStencilOp_type glStencilOp
 * 
 * cdef void check_glStencilOp(GLenum  fail, GLenum  zfail, GLenum  zpass) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilOp(fail, zfail, zpass)
 *     check_error("glStencilOp")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":779
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 * cdef void check_glStencilOpSeparate(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilOpSeparate(face, sfail, dpfail, dppass)
 *     check_error("glStencilOpSeparate")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOpSeparate(GLenum __pyx_v_face, GLenum __pyx_v_sfail, GLenum __pyx_v_dpfail, GLenum __pyx_v_dppass) {

  /* "renpy/gl2/uguugl.pyx":780
 * 
 * cdef void check_glStencilOpSeparate(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil:
 *     real_glStencilOpSeparate(face, sfail, dpfail, dppass)             # <<<<<<<<<<<<<<
 *     check_error("glStencilOpSeparate")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOpSeparate(__pyx_v_face, __pyx_v_sfail, __pyx_v_dpfail, __pyx_v_dppass);

  /* "renpy/gl2/uguugl.pyx":781
 * cdef void check_glStencilOpSeparate(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil:
 *     real_glStencilOpSeparate(face, sfail, dpfail, dppass)
 *     check_error("glStencilOpSeparate")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexImage2D_type real_glTexImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glStencilOpSeparate"));

  /* "renpy/gl2/uguugl.pyx":779
 * cdef glStencilOpSeparate_type glStencilOpSeparate
 * 
 * cdef void check_glStencilOpSeparate(GLenum  face, GLenum  sfail, GLenum  dpfail, GLenum  dppass) nogil:             # <<<<<<<<<<<<<<
 *     real_glStencilOpSeparate(face, sfail, dpfail, dppass)
 *     check_error("glStencilOpSeparate")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":786
 * cdef glTexImage2D_type glTexImage2D
 * 
 * cdef void check_glTexImage2D(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
 *     check_error("glTexImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLint __pyx_v_internalformat, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLint __pyx_v_border, GLenum __pyx_v_format, GLenum __pyx_v_type, void const *__pyx_v_pixels) {

  /* "renpy/gl2/uguugl.pyx":787
 * 
 * cdef void check_glTexImage2D(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil:
 *     real_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels)             # <<<<<<<<<<<<<<
 *     check_error("glTexImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_internalformat, __pyx_v_width, __pyx_v_height, __pyx_v_border, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* "renpy/gl2/uguugl.pyx":788
 * cdef void check_glTexImage2D(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil:
 *     real_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
 *     check_error("glTexImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexParameterf_type real_glTexParameterf
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexImage2D"));

  /* "renpy/gl2/uguugl.pyx":786
 * cdef glTexImage2D_type glTexImage2D
 * 
 * cdef void check_glTexImage2D(GLenum  target, GLint  level, GLint  internalformat, GLsizei  width, GLsizei  height, GLint  border, GLenum  format, GLenum  type, const void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels)
 *     check_error("glTexImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":793
 * cdef glTexParameterf_type glTexParameterf
 * 
 * cdef void check_glTexParameterf(GLenum  target, GLenum  pname, GLfloat  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameterf(target, pname, param)
 *     check_error("glTexParameterf")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterf(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLfloat __pyx_v_param) {

  /* "renpy/gl2/uguugl.pyx":794
 * 
 * cdef void check_glTexParameterf(GLenum  target, GLenum  pname, GLfloat  param) nogil:
 *     real_glTexParameterf(target, pname, param)             # <<<<<<<<<<<<<<
 *     check_error("glTexParameterf")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterf(__pyx_v_target, __pyx_v_pname, __pyx_v_param);

  /* "renpy/gl2/uguugl.pyx":795
 * cdef void check_glTexParameterf(GLenum  target, GLenum  pname, GLfloat  param) nogil:
 *     real_glTexParameterf(target, pname, param)
 *     check_error("glTexParameterf")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexParameterfv_type real_glTexParameterfv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexParameterf"));

  /* "renpy/gl2/uguugl.pyx":793
 * cdef glTexParameterf_type glTexParameterf
 * 
 * cdef void check_glTexParameterf(GLenum  target, GLenum  pname, GLfloat  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameterf(target, pname, param)
 *     check_error("glTexParameterf")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":800
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 * cdef void check_glTexParameterfv(GLenum  target, GLenum  pname, const GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameterfv(target, pname, params)
 *     check_error("glTexParameterfv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterfv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLfloat const *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":801
 * 
 * cdef void check_glTexParameterfv(GLenum  target, GLenum  pname, const GLfloat * params) nogil:
 *     real_glTexParameterfv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glTexParameterfv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterfv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":802
 * cdef void check_glTexParameterfv(GLenum  target, GLenum  pname, const GLfloat * params) nogil:
 *     real_glTexParameterfv(target, pname, params)
 *     check_error("glTexParameterfv")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexParameteri_type real_glTexParameteri
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexParameterfv"));

  /* "renpy/gl2/uguugl.pyx":800
 * cdef glTexParameterfv_type glTexParameterfv
 * 
 * cdef void check_glTexParameterfv(GLenum  target, GLenum  pname, const GLfloat * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameterfv(target, pname, params)
 *     check_error("glTexParameterfv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":807
 * cdef glTexParameteri_type glTexParameteri
 * 
 * cdef void check_glTexParameteri(GLenum  target, GLenum  pname, GLint  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameteri(target, pname, param)
 *     check_error("glTexParameteri")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteri(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLint __pyx_v_param) {

  /* "renpy/gl2/uguugl.pyx":808
 * 
 * cdef void check_glTexParameteri(GLenum  target, GLenum  pname, GLint  param) nogil:
 *     real_glTexParameteri(target, pname, param)             # <<<<<<<<<<<<<<
 *     check_error("glTexParameteri")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteri(__pyx_v_target, __pyx_v_pname, __pyx_v_param);

  /* "renpy/gl2/uguugl.pyx":809
 * cdef void check_glTexParameteri(GLenum  target, GLenum  pname, GLint  param) nogil:
 *     real_glTexParameteri(target, pname, param)
 *     check_error("glTexParameteri")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexParameteriv_type real_glTexParameteriv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexParameteri"));

  /* "renpy/gl2/uguugl.pyx":807
 * cdef glTexParameteri_type glTexParameteri
 * 
 * cdef void check_glTexParameteri(GLenum  target, GLenum  pname, GLint  param) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameteri(target, pname, param)
 *     check_error("glTexParameteri")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":814
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 * cdef void check_glTexParameteriv(GLenum  target, GLenum  pname, const GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameteriv(target, pname, params)
 *     check_error("glTexParameteriv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteriv(GLenum __pyx_v_target, GLenum __pyx_v_pname, GLint const *__pyx_v_params) {

  /* "renpy/gl2/uguugl.pyx":815
 * 
 * cdef void check_glTexParameteriv(GLenum  target, GLenum  pname, const GLint * params) nogil:
 *     real_glTexParameteriv(target, pname, params)             # <<<<<<<<<<<<<<
 *     check_error("glTexParameteriv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteriv(__pyx_v_target, __pyx_v_pname, __pyx_v_params);

  /* "renpy/gl2/uguugl.pyx":816
 * cdef void check_glTexParameteriv(GLenum  target, GLenum  pname, const GLint * params) nogil:
 *     real_glTexParameteriv(target, pname, params)
 *     check_error("glTexParameteriv")             # <<<<<<<<<<<<<<
 * 
 * cdef glTexSubImage2D_type real_glTexSubImage2D
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexParameteriv"));

  /* "renpy/gl2/uguugl.pyx":814
 * cdef glTexParameteriv_type glTexParameteriv
 * 
 * cdef void check_glTexParameteriv(GLenum  target, GLenum  pname, const GLint * params) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexParameteriv(target, pname, params)
 *     check_error("glTexParameteriv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":821
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 * cdef void check_glTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels)
 *     check_error("glTexSubImage2D")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glTexSubImage2D(GLenum __pyx_v_target, GLint __pyx_v_level, GLint __pyx_v_xoffset, GLint __pyx_v_yoffset, GLsizei __pyx_v_width, GLsizei __pyx_v_height, GLenum __pyx_v_format, GLenum __pyx_v_type, void const *__pyx_v_pixels) {

  /* "renpy/gl2/uguugl.pyx":822
 * 
 * cdef void check_glTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil:
 *     real_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels)             # <<<<<<<<<<<<<<
 *     check_error("glTexSubImage2D")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexSubImage2D(__pyx_v_target, __pyx_v_level, __pyx_v_xoffset, __pyx_v_yoffset, __pyx_v_width, __pyx_v_height, __pyx_v_format, __pyx_v_type, __pyx_v_pixels);

  /* "renpy/gl2/uguugl.pyx":823
 * cdef void check_glTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil:
 *     real_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels)
 *     check_error("glTexSubImage2D")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform1f_type real_glUniform1f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glTexSubImage2D"));

  /* "renpy/gl2/uguugl.pyx":821
 * cdef glTexSubImage2D_type glTexSubImage2D
 * 
 * cdef void check_glTexSubImage2D(GLenum  target, GLint  level, GLint  xoffset, GLint  yoffset, GLsizei  width, GLsizei  height, GLenum  format, GLenum  type, const void * pixels) nogil:             # <<<<<<<<<<<<<<
 *     real_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels)
 *     check_error("glTexSubImage2D")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":828
 * cdef glUniform1f_type glUniform1f
 * 
 * cdef void check_glUniform1f(GLint  location, GLfloat  v0) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1f(location, v0)
 *     check_error("glUniform1f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1f(GLint __pyx_v_location, GLfloat __pyx_v_v0) {

  /* "renpy/gl2/uguugl.pyx":829
 * 
 * cdef void check_glUniform1f(GLint  location, GLfloat  v0) nogil:
 *     real_glUniform1f(location, v0)             # <<<<<<<<<<<<<<
 *     check_error("glUniform1f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1f(__pyx_v_location, __pyx_v_v0);

  /* "renpy/gl2/uguugl.pyx":830
 * cdef void check_glUniform1f(GLint  location, GLfloat  v0) nogil:
 *     real_glUniform1f(location, v0)
 *     check_error("glUniform1f")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform1fv_type real_glUniform1fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform1f"));

  /* "renpy/gl2/uguugl.pyx":828
 * cdef glUniform1f_type glUniform1f
 * 
 * cdef void check_glUniform1f(GLint  location, GLfloat  v0) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1f(location, v0)
 *     check_error("glUniform1f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":835
 * cdef glUniform1fv_type glUniform1fv
 * 
 * cdef void check_glUniform1fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1fv(location, count, value)
 *     check_error("glUniform1fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":836
 * 
 * cdef void check_glUniform1fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform1fv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform1fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1fv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":837
 * cdef void check_glUniform1fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform1fv(location, count, value)
 *     check_error("glUniform1fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform1i_type real_glUniform1i
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform1fv"));

  /* "renpy/gl2/uguugl.pyx":835
 * cdef glUniform1fv_type glUniform1fv
 * 
 * cdef void check_glUniform1fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1fv(location, count, value)
 *     check_error("glUniform1fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":842
 * cdef glUniform1i_type glUniform1i
 * 
 * cdef void check_glUniform1i(GLint  location, GLint  v0) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1i(location, v0)
 *     check_error("glUniform1i")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1i(GLint __pyx_v_location, GLint __pyx_v_v0) {

  /* "renpy/gl2/uguugl.pyx":843
 * 
 * cdef void check_glUniform1i(GLint  location, GLint  v0) nogil:
 *     real_glUniform1i(location, v0)             # <<<<<<<<<<<<<<
 *     check_error("glUniform1i")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1i(__pyx_v_location, __pyx_v_v0);

  /* "renpy/gl2/uguugl.pyx":844
 * cdef void check_glUniform1i(GLint  location, GLint  v0) nogil:
 *     real_glUniform1i(location, v0)
 *     check_error("glUniform1i")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform1iv_type real_glUniform1iv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform1i"));

  /* "renpy/gl2/uguugl.pyx":842
 * cdef glUniform1i_type glUniform1i
 * 
 * cdef void check_glUniform1i(GLint  location, GLint  v0) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1i(location, v0)
 *     check_error("glUniform1i")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":849
 * cdef glUniform1iv_type glUniform1iv
 * 
 * cdef void check_glUniform1iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1iv(location, count, value)
 *     check_error("glUniform1iv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1iv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLint const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":850
 * 
 * cdef void check_glUniform1iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform1iv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform1iv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1iv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":851
 * cdef void check_glUniform1iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform1iv(location, count, value)
 *     check_error("glUniform1iv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform2f_type real_glUniform2f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform1iv"));

  /* "renpy/gl2/uguugl.pyx":849
 * cdef glUniform1iv_type glUniform1iv
 * 
 * cdef void check_glUniform1iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform1iv(location, count, value)
 *     check_error("glUniform1iv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":856
 * cdef glUniform2f_type glUniform2f
 * 
 * cdef void check_glUniform2f(GLint  location, GLfloat  v0, GLfloat  v1) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2f(location, v0, v1)
 *     check_error("glUniform2f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2f(GLint __pyx_v_location, GLfloat __pyx_v_v0, GLfloat __pyx_v_v1) {

  /* "renpy/gl2/uguugl.pyx":857
 * 
 * cdef void check_glUniform2f(GLint  location, GLfloat  v0, GLfloat  v1) nogil:
 *     real_glUniform2f(location, v0, v1)             # <<<<<<<<<<<<<<
 *     check_error("glUniform2f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2f(__pyx_v_location, __pyx_v_v0, __pyx_v_v1);

  /* "renpy/gl2/uguugl.pyx":858
 * cdef void check_glUniform2f(GLint  location, GLfloat  v0, GLfloat  v1) nogil:
 *     real_glUniform2f(location, v0, v1)
 *     check_error("glUniform2f")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform2fv_type real_glUniform2fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform2f"));

  /* "renpy/gl2/uguugl.pyx":856
 * cdef glUniform2f_type glUniform2f
 * 
 * cdef void check_glUniform2f(GLint  location, GLfloat  v0, GLfloat  v1) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2f(location, v0, v1)
 *     check_error("glUniform2f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":863
 * cdef glUniform2fv_type glUniform2fv
 * 
 * cdef void check_glUniform2fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2fv(location, count, value)
 *     check_error("glUniform2fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":864
 * 
 * cdef void check_glUniform2fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform2fv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform2fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2fv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":865
 * cdef void check_glUniform2fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform2fv(location, count, value)
 *     check_error("glUniform2fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform2i_type real_glUniform2i
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform2fv"));

  /* "renpy/gl2/uguugl.pyx":863
 * cdef glUniform2fv_type glUniform2fv
 * 
 * cdef void check_glUniform2fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2fv(location, count, value)
 *     check_error("glUniform2fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":870
 * cdef glUniform2i_type glUniform2i
 * 
 * cdef void check_glUniform2i(GLint  location, GLint  v0, GLint  v1) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2i(location, v0, v1)
 *     check_error("glUniform2i")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2i(GLint __pyx_v_location, GLint __pyx_v_v0, GLint __pyx_v_v1) {

  /* "renpy/gl2/uguugl.pyx":871
 * 
 * cdef void check_glUniform2i(GLint  location, GLint  v0, GLint  v1) nogil:
 *     real_glUniform2i(location, v0, v1)             # <<<<<<<<<<<<<<
 *     check_error("glUniform2i")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2i(__pyx_v_location, __pyx_v_v0, __pyx_v_v1);

  /* "renpy/gl2/uguugl.pyx":872
 * cdef void check_glUniform2i(GLint  location, GLint  v0, GLint  v1) nogil:
 *     real_glUniform2i(location, v0, v1)
 *     check_error("glUniform2i")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform2iv_type real_glUniform2iv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform2i"));

  /* "renpy/gl2/uguugl.pyx":870
 * cdef glUniform2i_type glUniform2i
 * 
 * cdef void check_glUniform2i(GLint  location, GLint  v0, GLint  v1) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2i(location, v0, v1)
 *     check_error("glUniform2i")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":877
 * cdef glUniform2iv_type glUniform2iv
 * 
 * cdef void check_glUniform2iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2iv(location, count, value)
 *     check_error("glUniform2iv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2iv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLint const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":878
 * 
 * cdef void check_glUniform2iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform2iv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform2iv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2iv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":879
 * cdef void check_glUniform2iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform2iv(location, count, value)
 *     check_error("glUniform2iv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform3f_type real_glUniform3f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform2iv"));

  /* "renpy/gl2/uguugl.pyx":877
 * cdef glUniform2iv_type glUniform2iv
 * 
 * cdef void check_glUniform2iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform2iv(location, count, value)
 *     check_error("glUniform2iv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":884
 * cdef glUniform3f_type glUniform3f
 * 
 * cdef void check_glUniform3f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3f(location, v0, v1, v2)
 *     check_error("glUniform3f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3f(GLint __pyx_v_location, GLfloat __pyx_v_v0, GLfloat __pyx_v_v1, GLfloat __pyx_v_v2) {

  /* "renpy/gl2/uguugl.pyx":885
 * 
 * cdef void check_glUniform3f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil:
 *     real_glUniform3f(location, v0, v1, v2)             # <<<<<<<<<<<<<<
 *     check_error("glUniform3f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3f(__pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2);

  /* "renpy/gl2/uguugl.pyx":886
 * cdef void check_glUniform3f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil:
 *     real_glUniform3f(location, v0, v1, v2)
 *     check_error("glUniform3f")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform3fv_type real_glUniform3fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform3f"));

  /* "renpy/gl2/uguugl.pyx":884
 * cdef glUniform3f_type glUniform3f
 * 
 * cdef void check_glUniform3f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3f(location, v0, v1, v2)
 *     check_error("glUniform3f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":891
 * cdef glUniform3fv_type glUniform3fv
 * 
 * cdef void check_glUniform3fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3fv(location, count, value)
 *     check_error("glUniform3fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":892
 * 
 * cdef void check_glUniform3fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform3fv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform3fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3fv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":893
 * cdef void check_glUniform3fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform3fv(location, count, value)
 *     check_error("glUniform3fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform3i_type real_glUniform3i
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform3fv"));

  /* "renpy/gl2/uguugl.pyx":891
 * cdef glUniform3fv_type glUniform3fv
 * 
 * cdef void check_glUniform3fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3fv(location, count, value)
 *     check_error("glUniform3fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":898
 * cdef glUniform3i_type glUniform3i
 * 
 * cdef void check_glUniform3i(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3i(location, v0, v1, v2)
 *     check_error("glUniform3i")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3i(GLint __pyx_v_location, GLint __pyx_v_v0, GLint __pyx_v_v1, GLint __pyx_v_v2) {

  /* "renpy/gl2/uguugl.pyx":899
 * 
 * cdef void check_glUniform3i(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil:
 *     real_glUniform3i(location, v0, v1, v2)             # <<<<<<<<<<<<<<
 *     check_error("glUniform3i")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3i(__pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2);

  /* "renpy/gl2/uguugl.pyx":900
 * cdef void check_glUniform3i(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil:
 *     real_glUniform3i(location, v0, v1, v2)
 *     check_error("glUniform3i")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform3iv_type real_glUniform3iv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform3i"));

  /* "renpy/gl2/uguugl.pyx":898
 * cdef glUniform3i_type glUniform3i
 * 
 * cdef void check_glUniform3i(GLint  location, GLint  v0, GLint  v1, GLint  v2) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3i(location, v0, v1, v2)
 *     check_error("glUniform3i")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":905
 * cdef glUniform3iv_type glUniform3iv
 * 
 * cdef void check_glUniform3iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3iv(location, count, value)
 *     check_error("glUniform3iv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3iv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLint const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":906
 * 
 * cdef void check_glUniform3iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform3iv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform3iv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3iv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":907
 * cdef void check_glUniform3iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform3iv(location, count, value)
 *     check_error("glUniform3iv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform4f_type real_glUniform4f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform3iv"));

  /* "renpy/gl2/uguugl.pyx":905
 * cdef glUniform3iv_type glUniform3iv
 * 
 * cdef void check_glUniform3iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform3iv(location, count, value)
 *     check_error("glUniform3iv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":912
 * cdef glUniform4f_type glUniform4f
 * 
 * cdef void check_glUniform4f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4f(location, v0, v1, v2, v3)
 *     check_error("glUniform4f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4f(GLint __pyx_v_location, GLfloat __pyx_v_v0, GLfloat __pyx_v_v1, GLfloat __pyx_v_v2, GLfloat __pyx_v_v3) {

  /* "renpy/gl2/uguugl.pyx":913
 * 
 * cdef void check_glUniform4f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil:
 *     real_glUniform4f(location, v0, v1, v2, v3)             # <<<<<<<<<<<<<<
 *     check_error("glUniform4f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4f(__pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2, __pyx_v_v3);

  /* "renpy/gl2/uguugl.pyx":914
 * cdef void check_glUniform4f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil:
 *     real_glUniform4f(location, v0, v1, v2, v3)
 *     check_error("glUniform4f")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform4fv_type real_glUniform4fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform4f"));

  /* "renpy/gl2/uguugl.pyx":912
 * cdef glUniform4f_type glUniform4f
 * 
 * cdef void check_glUniform4f(GLint  location, GLfloat  v0, GLfloat  v1, GLfloat  v2, GLfloat  v3) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4f(location, v0, v1, v2, v3)
 *     check_error("glUniform4f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":919
 * cdef glUniform4fv_type glUniform4fv
 * 
 * cdef void check_glUniform4fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4fv(location, count, value)
 *     check_error("glUniform4fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":920
 * 
 * cdef void check_glUniform4fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform4fv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform4fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4fv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":921
 * cdef void check_glUniform4fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:
 *     real_glUniform4fv(location, count, value)
 *     check_error("glUniform4fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform4i_type real_glUniform4i
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform4fv"));

  /* "renpy/gl2/uguugl.pyx":919
 * cdef glUniform4fv_type glUniform4fv
 * 
 * cdef void check_glUniform4fv(GLint  location, GLsizei  count, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4fv(location, count, value)
 *     check_error("glUniform4fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":926
 * cdef glUniform4i_type glUniform4i
 * 
 * cdef void check_glUniform4i(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4i(location, v0, v1, v2, v3)
 *     check_error("glUniform4i")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4i(GLint __pyx_v_location, GLint __pyx_v_v0, GLint __pyx_v_v1, GLint __pyx_v_v2, GLint __pyx_v_v3) {

  /* "renpy/gl2/uguugl.pyx":927
 * 
 * cdef void check_glUniform4i(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil:
 *     real_glUniform4i(location, v0, v1, v2, v3)             # <<<<<<<<<<<<<<
 *     check_error("glUniform4i")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4i(__pyx_v_location, __pyx_v_v0, __pyx_v_v1, __pyx_v_v2, __pyx_v_v3);

  /* "renpy/gl2/uguugl.pyx":928
 * cdef void check_glUniform4i(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil:
 *     real_glUniform4i(location, v0, v1, v2, v3)
 *     check_error("glUniform4i")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniform4iv_type real_glUniform4iv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform4i"));

  /* "renpy/gl2/uguugl.pyx":926
 * cdef glUniform4i_type glUniform4i
 * 
 * cdef void check_glUniform4i(GLint  location, GLint  v0, GLint  v1, GLint  v2, GLint  v3) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4i(location, v0, v1, v2, v3)
 *     check_error("glUniform4i")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":933
 * cdef glUniform4iv_type glUniform4iv
 * 
 * cdef void check_glUniform4iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4iv(location, count, value)
 *     check_error("glUniform4iv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4iv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLint const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":934
 * 
 * cdef void check_glUniform4iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform4iv(location, count, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniform4iv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4iv(__pyx_v_location, __pyx_v_count, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":935
 * cdef void check_glUniform4iv(GLint  location, GLsizei  count, const GLint * value) nogil:
 *     real_glUniform4iv(location, count, value)
 *     check_error("glUniform4iv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniformMatrix2fv_type real_glUniformMatrix2fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniform4iv"));

  /* "renpy/gl2/uguugl.pyx":933
 * cdef glUniform4iv_type glUniform4iv
 * 
 * cdef void check_glUniform4iv(GLint  location, GLsizei  count, const GLint * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniform4iv(location, count, value)
 *     check_error("glUniform4iv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":940
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 * cdef void check_glUniformMatrix2fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix2fv(location, count, transpose, value)
 *     check_error("glUniformMatrix2fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix2fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLboolean __pyx_v_transpose, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":941
 * 
 * cdef void check_glUniformMatrix2fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix2fv(location, count, transpose, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniformMatrix2fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix2fv(__pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":942
 * cdef void check_glUniformMatrix2fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix2fv(location, count, transpose, value)
 *     check_error("glUniformMatrix2fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniformMatrix3fv_type real_glUniformMatrix3fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniformMatrix2fv"));

  /* "renpy/gl2/uguugl.pyx":940
 * cdef glUniformMatrix2fv_type glUniformMatrix2fv
 * 
 * cdef void check_glUniformMatrix2fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix2fv(location, count, transpose, value)
 *     check_error("glUniformMatrix2fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":947
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 * cdef void check_glUniformMatrix3fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix3fv(location, count, transpose, value)
 *     check_error("glUniformMatrix3fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix3fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLboolean __pyx_v_transpose, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":948
 * 
 * cdef void check_glUniformMatrix3fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix3fv(location, count, transpose, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniformMatrix3fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix3fv(__pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":949
 * cdef void check_glUniformMatrix3fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix3fv(location, count, transpose, value)
 *     check_error("glUniformMatrix3fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUniformMatrix4fv_type real_glUniformMatrix4fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniformMatrix3fv"));

  /* "renpy/gl2/uguugl.pyx":947
 * cdef glUniformMatrix3fv_type glUniformMatrix3fv
 * 
 * cdef void check_glUniformMatrix3fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix3fv(location, count, transpose, value)
 *     check_error("glUniformMatrix3fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":954
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 * cdef void check_glUniformMatrix4fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix4fv(location, count, transpose, value)
 *     check_error("glUniformMatrix4fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix4fv(GLint __pyx_v_location, GLsizei __pyx_v_count, GLboolean __pyx_v_transpose, GLfloat const *__pyx_v_value) {

  /* "renpy/gl2/uguugl.pyx":955
 * 
 * cdef void check_glUniformMatrix4fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix4fv(location, count, transpose, value)             # <<<<<<<<<<<<<<
 *     check_error("glUniformMatrix4fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix4fv(__pyx_v_location, __pyx_v_count, __pyx_v_transpose, __pyx_v_value);

  /* "renpy/gl2/uguugl.pyx":956
 * cdef void check_glUniformMatrix4fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:
 *     real_glUniformMatrix4fv(location, count, transpose, value)
 *     check_error("glUniformMatrix4fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glUseProgram_type real_glUseProgram
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUniformMatrix4fv"));

  /* "renpy/gl2/uguugl.pyx":954
 * cdef glUniformMatrix4fv_type glUniformMatrix4fv
 * 
 * cdef void check_glUniformMatrix4fv(GLint  location, GLsizei  count, GLboolean  transpose, const GLfloat * value) nogil:             # <<<<<<<<<<<<<<
 *     real_glUniformMatrix4fv(location, count, transpose, value)
 *     check_error("glUniformMatrix4fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":961
 * cdef glUseProgram_type glUseProgram
 * 
 * cdef void check_glUseProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glUseProgram(program)
 *     check_error("glUseProgram")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glUseProgram(GLuint __pyx_v_program) {

  /* "renpy/gl2/uguugl.pyx":962
 * 
 * cdef void check_glUseProgram(GLuint  program) nogil:
 *     real_glUseProgram(program)             # <<<<<<<<<<<<<<
 *     check_error("glUseProgram")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glUseProgram(__pyx_v_program);

  /* "renpy/gl2/uguugl.pyx":963
 * cdef void check_glUseProgram(GLuint  program) nogil:
 *     real_glUseProgram(program)
 *     check_error("glUseProgram")             # <<<<<<<<<<<<<<
 * 
 * cdef glValidateProgram_type real_glValidateProgram
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glUseProgram"));

  /* "renpy/gl2/uguugl.pyx":961
 * cdef glUseProgram_type glUseProgram
 * 
 * cdef void check_glUseProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glUseProgram(program)
 *     check_error("glUseProgram")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":968
 * cdef glValidateProgram_type glValidateProgram
 * 
 * cdef void check_glValidateProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glValidateProgram(program)
 *     check_error("glValidateProgram")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glValidateProgram(GLuint __pyx_v_program) {

  /* "renpy/gl2/uguugl.pyx":969
 * 
 * cdef void check_glValidateProgram(GLuint  program) nogil:
 *     real_glValidateProgram(program)             # <<<<<<<<<<<<<<
 *     check_error("glValidateProgram")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glValidateProgram(__pyx_v_program);

  /* "renpy/gl2/uguugl.pyx":970
 * cdef void check_glValidateProgram(GLuint  program) nogil:
 *     real_glValidateProgram(program)
 *     check_error("glValidateProgram")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib1f_type real_glVertexAttrib1f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glValidateProgram"));

  /* "renpy/gl2/uguugl.pyx":968
 * cdef glValidateProgram_type glValidateProgram
 * 
 * cdef void check_glValidateProgram(GLuint  program) nogil:             # <<<<<<<<<<<<<<
 *     real_glValidateProgram(program)
 *     check_error("glValidateProgram")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":975
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 * cdef void check_glVertexAttrib1f(GLuint  index, GLfloat  x) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib1f(index, x)
 *     check_error("glVertexAttrib1f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1f(GLuint __pyx_v_index, GLfloat __pyx_v_x) {

  /* "renpy/gl2/uguugl.pyx":976
 * 
 * cdef void check_glVertexAttrib1f(GLuint  index, GLfloat  x) nogil:
 *     real_glVertexAttrib1f(index, x)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib1f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1f(__pyx_v_index, __pyx_v_x);

  /* "renpy/gl2/uguugl.pyx":977
 * cdef void check_glVertexAttrib1f(GLuint  index, GLfloat  x) nogil:
 *     real_glVertexAttrib1f(index, x)
 *     check_error("glVertexAttrib1f")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib1fv_type real_glVertexAttrib1fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib1f"));

  /* "renpy/gl2/uguugl.pyx":975
 * cdef glVertexAttrib1f_type glVertexAttrib1f
 * 
 * cdef void check_glVertexAttrib1f(GLuint  index, GLfloat  x) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib1f(index, x)
 *     check_error("glVertexAttrib1f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":982
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 * cdef void check_glVertexAttrib1fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib1fv(index, v)
 *     check_error("glVertexAttrib1fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1fv(GLuint __pyx_v_index, GLfloat const *__pyx_v_v) {

  /* "renpy/gl2/uguugl.pyx":983
 * 
 * cdef void check_glVertexAttrib1fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib1fv(index, v)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib1fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1fv(__pyx_v_index, __pyx_v_v);

  /* "renpy/gl2/uguugl.pyx":984
 * cdef void check_glVertexAttrib1fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib1fv(index, v)
 *     check_error("glVertexAttrib1fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib2f_type real_glVertexAttrib2f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib1fv"));

  /* "renpy/gl2/uguugl.pyx":982
 * cdef glVertexAttrib1fv_type glVertexAttrib1fv
 * 
 * cdef void check_glVertexAttrib1fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib1fv(index, v)
 *     check_error("glVertexAttrib1fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":989
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 * cdef void check_glVertexAttrib2f(GLuint  index, GLfloat  x, GLfloat  y) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib2f(index, x, y)
 *     check_error("glVertexAttrib2f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2f(GLuint __pyx_v_index, GLfloat __pyx_v_x, GLfloat __pyx_v_y) {

  /* "renpy/gl2/uguugl.pyx":990
 * 
 * cdef void check_glVertexAttrib2f(GLuint  index, GLfloat  x, GLfloat  y) nogil:
 *     real_glVertexAttrib2f(index, x, y)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib2f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2f(__pyx_v_index, __pyx_v_x, __pyx_v_y);

  /* "renpy/gl2/uguugl.pyx":991
 * cdef void check_glVertexAttrib2f(GLuint  index, GLfloat  x, GLfloat  y) nogil:
 *     real_glVertexAttrib2f(index, x, y)
 *     check_error("glVertexAttrib2f")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib2fv_type real_glVertexAttrib2fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib2f"));

  /* "renpy/gl2/uguugl.pyx":989
 * cdef glVertexAttrib2f_type glVertexAttrib2f
 * 
 * cdef void check_glVertexAttrib2f(GLuint  index, GLfloat  x, GLfloat  y) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib2f(index, x, y)
 *     check_error("glVertexAttrib2f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":996
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 * cdef void check_glVertexAttrib2fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib2fv(index, v)
 *     check_error("glVertexAttrib2fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2fv(GLuint __pyx_v_index, GLfloat const *__pyx_v_v) {

  /* "renpy/gl2/uguugl.pyx":997
 * 
 * cdef void check_glVertexAttrib2fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib2fv(index, v)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib2fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2fv(__pyx_v_index, __pyx_v_v);

  /* "renpy/gl2/uguugl.pyx":998
 * cdef void check_glVertexAttrib2fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib2fv(index, v)
 *     check_error("glVertexAttrib2fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib3f_type real_glVertexAttrib3f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib2fv"));

  /* "renpy/gl2/uguugl.pyx":996
 * cdef glVertexAttrib2fv_type glVertexAttrib2fv
 * 
 * cdef void check_glVertexAttrib2fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib2fv(index, v)
 *     check_error("glVertexAttrib2fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1003
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 * cdef void check_glVertexAttrib3f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib3f(index, x, y, z)
 *     check_error("glVertexAttrib3f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3f(GLuint __pyx_v_index, GLfloat __pyx_v_x, GLfloat __pyx_v_y, GLfloat __pyx_v_z) {

  /* "renpy/gl2/uguugl.pyx":1004
 * 
 * cdef void check_glVertexAttrib3f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil:
 *     real_glVertexAttrib3f(index, x, y, z)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib3f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3f(__pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z);

  /* "renpy/gl2/uguugl.pyx":1005
 * cdef void check_glVertexAttrib3f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil:
 *     real_glVertexAttrib3f(index, x, y, z)
 *     check_error("glVertexAttrib3f")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib3fv_type real_glVertexAttrib3fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib3f"));

  /* "renpy/gl2/uguugl.pyx":1003
 * cdef glVertexAttrib3f_type glVertexAttrib3f
 * 
 * cdef void check_glVertexAttrib3f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib3f(index, x, y, z)
 *     check_error("glVertexAttrib3f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1010
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 * cdef void check_glVertexAttrib3fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib3fv(index, v)
 *     check_error("glVertexAttrib3fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3fv(GLuint __pyx_v_index, GLfloat const *__pyx_v_v) {

  /* "renpy/gl2/uguugl.pyx":1011
 * 
 * cdef void check_glVertexAttrib3fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib3fv(index, v)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib3fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3fv(__pyx_v_index, __pyx_v_v);

  /* "renpy/gl2/uguugl.pyx":1012
 * cdef void check_glVertexAttrib3fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib3fv(index, v)
 *     check_error("glVertexAttrib3fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib4f_type real_glVertexAttrib4f
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib3fv"));

  /* "renpy/gl2/uguugl.pyx":1010
 * cdef glVertexAttrib3fv_type glVertexAttrib3fv
 * 
 * cdef void check_glVertexAttrib3fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib3fv(index, v)
 *     check_error("glVertexAttrib3fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1017
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 * cdef void check_glVertexAttrib4f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib4f(index, x, y, z, w)
 *     check_error("glVertexAttrib4f")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4f(GLuint __pyx_v_index, GLfloat __pyx_v_x, GLfloat __pyx_v_y, GLfloat __pyx_v_z, GLfloat __pyx_v_w) {

  /* "renpy/gl2/uguugl.pyx":1018
 * 
 * cdef void check_glVertexAttrib4f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil:
 *     real_glVertexAttrib4f(index, x, y, z, w)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib4f")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4f(__pyx_v_index, __pyx_v_x, __pyx_v_y, __pyx_v_z, __pyx_v_w);

  /* "renpy/gl2/uguugl.pyx":1019
 * cdef void check_glVertexAttrib4f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil:
 *     real_glVertexAttrib4f(index, x, y, z, w)
 *     check_error("glVertexAttrib4f")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttrib4fv_type real_glVertexAttrib4fv
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib4f"));

  /* "renpy/gl2/uguugl.pyx":1017
 * cdef glVertexAttrib4f_type glVertexAttrib4f
 * 
 * cdef void check_glVertexAttrib4f(GLuint  index, GLfloat  x, GLfloat  y, GLfloat  z, GLfloat  w) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib4f(index, x, y, z, w)
 *     check_error("glVertexAttrib4f")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1024
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 * cdef void check_glVertexAttrib4fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib4fv(index, v)
 *     check_error("glVertexAttrib4fv")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4fv(GLuint __pyx_v_index, GLfloat const *__pyx_v_v) {

  /* "renpy/gl2/uguugl.pyx":1025
 * 
 * cdef void check_glVertexAttrib4fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib4fv(index, v)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttrib4fv")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4fv(__pyx_v_index, __pyx_v_v);

  /* "renpy/gl2/uguugl.pyx":1026
 * cdef void check_glVertexAttrib4fv(GLuint  index, const GLfloat * v) nogil:
 *     real_glVertexAttrib4fv(index, v)
 *     check_error("glVertexAttrib4fv")             # <<<<<<<<<<<<<<
 * 
 * cdef glVertexAttribPointer_type real_glVertexAttribPointer
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttrib4fv"));

  /* "renpy/gl2/uguugl.pyx":1024
 * cdef glVertexAttrib4fv_type glVertexAttrib4fv
 * 
 * cdef void check_glVertexAttrib4fv(GLuint  index, const GLfloat * v) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttrib4fv(index, v)
 *     check_error("glVertexAttrib4fv")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1031
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 * cdef void check_glVertexAttribPointer(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttribPointer(index, size, type, normalized, stride, pointer)
 *     check_error("glVertexAttribPointer")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttribPointer(GLuint __pyx_v_index, GLint __pyx_v_size, GLenum __pyx_v_type, GLboolean __pyx_v_normalized, GLsizei __pyx_v_stride, void const *__pyx_v_pointer) {

  /* "renpy/gl2/uguugl.pyx":1032
 * 
 * cdef void check_glVertexAttribPointer(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil:
 *     real_glVertexAttribPointer(index, size, type, normalized, stride, pointer)             # <<<<<<<<<<<<<<
 *     check_error("glVertexAttribPointer")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttribPointer(__pyx_v_index, __pyx_v_size, __pyx_v_type, __pyx_v_normalized, __pyx_v_stride, __pyx_v_pointer);

  /* "renpy/gl2/uguugl.pyx":1033
 * cdef void check_glVertexAttribPointer(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil:
 *     real_glVertexAttribPointer(index, size, type, normalized, stride, pointer)
 *     check_error("glVertexAttribPointer")             # <<<<<<<<<<<<<<
 * 
 * cdef glViewport_type real_glViewport
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glVertexAttribPointer"));

  /* "renpy/gl2/uguugl.pyx":1031
 * cdef glVertexAttribPointer_type glVertexAttribPointer
 * 
 * cdef void check_glVertexAttribPointer(GLuint  index, GLint  size, GLenum  type, GLboolean  normalized, GLsizei  stride, const void * pointer) nogil:             # <<<<<<<<<<<<<<
 *     real_glVertexAttribPointer(index, size, type, normalized, stride, pointer)
 *     check_error("glVertexAttribPointer")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1038
 * cdef glViewport_type glViewport
 * 
 * cdef void check_glViewport(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glViewport(x, y, width, height)
 *     check_error("glViewport")
 */

static void __pyx_f_5renpy_3gl2_6uguugl_check_glViewport(GLint __pyx_v_x, GLint __pyx_v_y, GLsizei __pyx_v_width, GLsizei __pyx_v_height) {

  /* "renpy/gl2/uguugl.pyx":1039
 * 
 * cdef void check_glViewport(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glViewport(x, y, width, height)             # <<<<<<<<<<<<<<
 *     check_error("glViewport")
 * 
 */
  __pyx_v_5renpy_3gl2_6uguugl_real_glViewport(__pyx_v_x, __pyx_v_y, __pyx_v_width, __pyx_v_height);

  /* "renpy/gl2/uguugl.pyx":1040
 * cdef void check_glViewport(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:
 *     real_glViewport(x, y, width, height)
 *     check_error("glViewport")             # <<<<<<<<<<<<<<
 * 
 * def load():
 */
  __pyx_f_5renpy_3gl2_6uguugl_check_error(((char const *)"glViewport"));

  /* "renpy/gl2/uguugl.pyx":1038
 * cdef glViewport_type glViewport
 * 
 * cdef void check_glViewport(GLint  x, GLint  y, GLsizei  width, GLsizei  height) nogil:             # <<<<<<<<<<<<<<
 *     real_glViewport(x, y, width, height)
 *     check_error("glViewport")
 */

  /* function exit code */
}

/* "renpy/gl2/uguugl.pyx":1042
 *     check_error("glViewport")
 * 
 * def load():             # <<<<<<<<<<<<<<
 * 
 *     global real_glActiveTexture, glActiveTexture
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_5load(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_3gl2_6uguugl_5load = {"load", (PyCFunction)__pyx_pw_5renpy_3gl2_6uguugl_5load, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_5load(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("load (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_3gl2_6uguugl_4load(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_4load(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  __Pyx_RefNannySetupContext("load", 0);

  /* "renpy/gl2/uguugl.pyx":1045
 * 
 *     global real_glActiveTexture, glActiveTexture
 *     real_glActiveTexture = <glActiveTexture_type> find_gl_command([b'glActiveTexture', b'glActiveTextureARB'])             # <<<<<<<<<<<<<<
 *     glActiveTexture = real_glActiveTexture
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1045, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glActiveTexture);
  __Pyx_GIVEREF(__pyx_n_b_glActiveTexture);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glActiveTexture);
  __Pyx_INCREF(__pyx_n_b_glActiveTextureARB);
  __Pyx_GIVEREF(__pyx_n_b_glActiveTextureARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glActiveTextureARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glActiveTexture = ((__pyx_t_5renpy_3gl2_6uguugl_glActiveTexture_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1046
 *     global real_glActiveTexture, glActiveTexture
 *     real_glActiveTexture = <glActiveTexture_type> find_gl_command([b'glActiveTexture', b'glActiveTextureARB'])
 *     glActiveTexture = real_glActiveTexture             # <<<<<<<<<<<<<<
 * 
 *     global real_glAttachShader, glAttachShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glActiveTexture = __pyx_v_5renpy_3gl2_6uguugl_real_glActiveTexture;

  /* "renpy/gl2/uguugl.pyx":1049
 * 
 *     global real_glAttachShader, glAttachShader
 *     real_glAttachShader = <glAttachShader_type> find_gl_command([b'glAttachShader'])             # <<<<<<<<<<<<<<
 *     glAttachShader = real_glAttachShader
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1049, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glAttachShader);
  __Pyx_GIVEREF(__pyx_n_b_glAttachShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glAttachShader);
  __pyx_v_5renpy_3gl2_6uguugl_real_glAttachShader = ((__pyx_t_5renpy_3gl2_6uguugl_glAttachShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1050
 *     global real_glAttachShader, glAttachShader
 *     real_glAttachShader = <glAttachShader_type> find_gl_command([b'glAttachShader'])
 *     glAttachShader = real_glAttachShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glBindAttribLocation, glBindAttribLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glAttachShader = __pyx_v_5renpy_3gl2_6uguugl_real_glAttachShader;

  /* "renpy/gl2/uguugl.pyx":1053
 * 
 *     global real_glBindAttribLocation, glBindAttribLocation
 *     real_glBindAttribLocation = <glBindAttribLocation_type> find_gl_command([b'glBindAttribLocation', b'glBindAttribLocationARB'])             # <<<<<<<<<<<<<<
 *     glBindAttribLocation = real_glBindAttribLocation
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1053, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBindAttribLocation);
  __Pyx_GIVEREF(__pyx_n_b_glBindAttribLocation);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBindAttribLocation);
  __Pyx_INCREF(__pyx_n_b_glBindAttribLocationARB);
  __Pyx_GIVEREF(__pyx_n_b_glBindAttribLocationARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBindAttribLocationARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindAttribLocation = ((__pyx_t_5renpy_3gl2_6uguugl_glBindAttribLocation_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1054
 *     global real_glBindAttribLocation, glBindAttribLocation
 *     real_glBindAttribLocation = <glBindAttribLocation_type> find_gl_command([b'glBindAttribLocation', b'glBindAttribLocationARB'])
 *     glBindAttribLocation = real_glBindAttribLocation             # <<<<<<<<<<<<<<
 * 
 *     global real_glBindBuffer, glBindBuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindAttribLocation = __pyx_v_5renpy_3gl2_6uguugl_real_glBindAttribLocation;

  /* "renpy/gl2/uguugl.pyx":1057
 * 
 *     global real_glBindBuffer, glBindBuffer
 *     real_glBindBuffer = <glBindBuffer_type> find_gl_command([b'glBindBuffer', b'glBindBufferARB'])             # <<<<<<<<<<<<<<
 *     glBindBuffer = real_glBindBuffer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1057, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBindBuffer);
  __Pyx_GIVEREF(__pyx_n_b_glBindBuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBindBuffer);
  __Pyx_INCREF(__pyx_n_b_glBindBufferARB);
  __Pyx_GIVEREF(__pyx_n_b_glBindBufferARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBindBufferARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindBuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glBindBuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1058
 *     global real_glBindBuffer, glBindBuffer
 *     real_glBindBuffer = <glBindBuffer_type> find_gl_command([b'glBindBuffer', b'glBindBufferARB'])
 *     glBindBuffer = real_glBindBuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glBindFramebuffer, glBindFramebuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindBuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glBindBuffer;

  /* "renpy/gl2/uguugl.pyx":1061
 * 
 *     global real_glBindFramebuffer, glBindFramebuffer
 *     real_glBindFramebuffer = <glBindFramebuffer_type> find_gl_command([b'glBindFramebuffer'])             # <<<<<<<<<<<<<<
 *     glBindFramebuffer = real_glBindFramebuffer
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1061, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBindFramebuffer);
  __Pyx_GIVEREF(__pyx_n_b_glBindFramebuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBindFramebuffer);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindFramebuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glBindFramebuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1062
 *     global real_glBindFramebuffer, glBindFramebuffer
 *     real_glBindFramebuffer = <glBindFramebuffer_type> find_gl_command([b'glBindFramebuffer'])
 *     glBindFramebuffer = real_glBindFramebuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glBindRenderbuffer, glBindRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindFramebuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glBindFramebuffer;

  /* "renpy/gl2/uguugl.pyx":1065
 * 
 *     global real_glBindRenderbuffer, glBindRenderbuffer
 *     real_glBindRenderbuffer = <glBindRenderbuffer_type> find_gl_command([b'glBindRenderbuffer'])             # <<<<<<<<<<<<<<
 *     glBindRenderbuffer = real_glBindRenderbuffer
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1065, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBindRenderbuffer);
  __Pyx_GIVEREF(__pyx_n_b_glBindRenderbuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBindRenderbuffer);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindRenderbuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glBindRenderbuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1066
 *     global real_glBindRenderbuffer, glBindRenderbuffer
 *     real_glBindRenderbuffer = <glBindRenderbuffer_type> find_gl_command([b'glBindRenderbuffer'])
 *     glBindRenderbuffer = real_glBindRenderbuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glBindTexture, glBindTexture
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindRenderbuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glBindRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1069
 * 
 *     global real_glBindTexture, glBindTexture
 *     real_glBindTexture = <glBindTexture_type> find_gl_command([b'glBindTexture', b'glBindTextureEXT'])             # <<<<<<<<<<<<<<
 *     glBindTexture = real_glBindTexture
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1069, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBindTexture);
  __Pyx_GIVEREF(__pyx_n_b_glBindTexture);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBindTexture);
  __Pyx_INCREF(__pyx_n_b_glBindTextureEXT);
  __Pyx_GIVEREF(__pyx_n_b_glBindTextureEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBindTextureEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBindTexture = ((__pyx_t_5renpy_3gl2_6uguugl_glBindTexture_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1070
 *     global real_glBindTexture, glBindTexture
 *     real_glBindTexture = <glBindTexture_type> find_gl_command([b'glBindTexture', b'glBindTextureEXT'])
 *     glBindTexture = real_glBindTexture             # <<<<<<<<<<<<<<
 * 
 *     global real_glBlendColor, glBlendColor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindTexture = __pyx_v_5renpy_3gl2_6uguugl_real_glBindTexture;

  /* "renpy/gl2/uguugl.pyx":1073
 * 
 *     global real_glBlendColor, glBlendColor
 *     real_glBlendColor = <glBlendColor_type> find_gl_command([b'glBlendColor', b'glBlendColorEXT'])             # <<<<<<<<<<<<<<
 *     glBlendColor = real_glBlendColor
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1073, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBlendColor);
  __Pyx_GIVEREF(__pyx_n_b_glBlendColor);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBlendColor);
  __Pyx_INCREF(__pyx_n_b_glBlendColorEXT);
  __Pyx_GIVEREF(__pyx_n_b_glBlendColorEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBlendColorEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendColor = ((__pyx_t_5renpy_3gl2_6uguugl_glBlendColor_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1074
 *     global real_glBlendColor, glBlendColor
 *     real_glBlendColor = <glBlendColor_type> find_gl_command([b'glBlendColor', b'glBlendColorEXT'])
 *     glBlendColor = real_glBlendColor             # <<<<<<<<<<<<<<
 * 
 *     global real_glBlendEquation, glBlendEquation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendColor = __pyx_v_5renpy_3gl2_6uguugl_real_glBlendColor;

  /* "renpy/gl2/uguugl.pyx":1077
 * 
 *     global real_glBlendEquation, glBlendEquation
 *     real_glBlendEquation = <glBlendEquation_type> find_gl_command([b'glBlendEquation', b'glBlendEquationEXT'])             # <<<<<<<<<<<<<<
 *     glBlendEquation = real_glBlendEquation
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1077, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBlendEquation);
  __Pyx_GIVEREF(__pyx_n_b_glBlendEquation);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBlendEquation);
  __Pyx_INCREF(__pyx_n_b_glBlendEquationEXT);
  __Pyx_GIVEREF(__pyx_n_b_glBlendEquationEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBlendEquationEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquation = ((__pyx_t_5renpy_3gl2_6uguugl_glBlendEquation_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1078
 *     global real_glBlendEquation, glBlendEquation
 *     real_glBlendEquation = <glBlendEquation_type> find_gl_command([b'glBlendEquation', b'glBlendEquationEXT'])
 *     glBlendEquation = real_glBlendEquation             # <<<<<<<<<<<<<<
 * 
 *     global real_glBlendEquationSeparate, glBlendEquationSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendEquation = __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquation;

  /* "renpy/gl2/uguugl.pyx":1081
 * 
 *     global real_glBlendEquationSeparate, glBlendEquationSeparate
 *     real_glBlendEquationSeparate = <glBlendEquationSeparate_type> find_gl_command([b'glBlendEquationSeparate', b'glBlendEquationSeparateEXT'])             # <<<<<<<<<<<<<<
 *     glBlendEquationSeparate = real_glBlendEquationSeparate
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1081, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBlendEquationSeparate);
  __Pyx_GIVEREF(__pyx_n_b_glBlendEquationSeparate);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBlendEquationSeparate);
  __Pyx_INCREF(__pyx_n_b_glBlendEquationSeparateEXT);
  __Pyx_GIVEREF(__pyx_n_b_glBlendEquationSeparateEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBlendEquationSeparateEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquationSeparate = ((__pyx_t_5renpy_3gl2_6uguugl_glBlendEquationSeparate_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1082
 *     global real_glBlendEquationSeparate, glBlendEquationSeparate
 *     real_glBlendEquationSeparate = <glBlendEquationSeparate_type> find_gl_command([b'glBlendEquationSeparate', b'glBlendEquationSeparateEXT'])
 *     glBlendEquationSeparate = real_glBlendEquationSeparate             # <<<<<<<<<<<<<<
 * 
 *     global real_glBlendFunc, glBlendFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendEquationSeparate = __pyx_v_5renpy_3gl2_6uguugl_real_glBlendEquationSeparate;

  /* "renpy/gl2/uguugl.pyx":1085
 * 
 *     global real_glBlendFunc, glBlendFunc
 *     real_glBlendFunc = <glBlendFunc_type> find_gl_command([b'glBlendFunc'])             # <<<<<<<<<<<<<<
 *     glBlendFunc = real_glBlendFunc
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1085, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBlendFunc);
  __Pyx_GIVEREF(__pyx_n_b_glBlendFunc);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBlendFunc);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFunc = ((__pyx_t_5renpy_3gl2_6uguugl_glBlendFunc_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1086
 *     global real_glBlendFunc, glBlendFunc
 *     real_glBlendFunc = <glBlendFunc_type> find_gl_command([b'glBlendFunc'])
 *     glBlendFunc = real_glBlendFunc             # <<<<<<<<<<<<<<
 * 
 *     global real_glBlendFuncSeparate, glBlendFuncSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendFunc = __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFunc;

  /* "renpy/gl2/uguugl.pyx":1089
 * 
 *     global real_glBlendFuncSeparate, glBlendFuncSeparate
 *     real_glBlendFuncSeparate = <glBlendFuncSeparate_type> find_gl_command([b'glBlendFuncSeparate', b'glBlendFuncSeparateEXT', b'glBlendFuncSeparateINGR'])             # <<<<<<<<<<<<<<
 *     glBlendFuncSeparate = real_glBlendFuncSeparate
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1089, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBlendFuncSeparate);
  __Pyx_GIVEREF(__pyx_n_b_glBlendFuncSeparate);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBlendFuncSeparate);
  __Pyx_INCREF(__pyx_n_b_glBlendFuncSeparateEXT);
  __Pyx_GIVEREF(__pyx_n_b_glBlendFuncSeparateEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBlendFuncSeparateEXT);
  __Pyx_INCREF(__pyx_n_b_glBlendFuncSeparateINGR);
  __Pyx_GIVEREF(__pyx_n_b_glBlendFuncSeparateINGR);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glBlendFuncSeparateINGR);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFuncSeparate = ((__pyx_t_5renpy_3gl2_6uguugl_glBlendFuncSeparate_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1090
 *     global real_glBlendFuncSeparate, glBlendFuncSeparate
 *     real_glBlendFuncSeparate = <glBlendFuncSeparate_type> find_gl_command([b'glBlendFuncSeparate', b'glBlendFuncSeparateEXT', b'glBlendFuncSeparateINGR'])
 *     glBlendFuncSeparate = real_glBlendFuncSeparate             # <<<<<<<<<<<<<<
 * 
 *     global real_glBufferData, glBufferData
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendFuncSeparate = __pyx_v_5renpy_3gl2_6uguugl_real_glBlendFuncSeparate;

  /* "renpy/gl2/uguugl.pyx":1093
 * 
 *     global real_glBufferData, glBufferData
 *     real_glBufferData = <glBufferData_type> find_gl_command([b'glBufferData', b'glBufferDataARB'])             # <<<<<<<<<<<<<<
 *     glBufferData = real_glBufferData
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1093, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBufferData);
  __Pyx_GIVEREF(__pyx_n_b_glBufferData);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBufferData);
  __Pyx_INCREF(__pyx_n_b_glBufferDataARB);
  __Pyx_GIVEREF(__pyx_n_b_glBufferDataARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBufferDataARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBufferData = ((__pyx_t_5renpy_3gl2_6uguugl_glBufferData_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1094
 *     global real_glBufferData, glBufferData
 *     real_glBufferData = <glBufferData_type> find_gl_command([b'glBufferData', b'glBufferDataARB'])
 *     glBufferData = real_glBufferData             # <<<<<<<<<<<<<<
 * 
 *     global real_glBufferSubData, glBufferSubData
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBufferData = __pyx_v_5renpy_3gl2_6uguugl_real_glBufferData;

  /* "renpy/gl2/uguugl.pyx":1097
 * 
 *     global real_glBufferSubData, glBufferSubData
 *     real_glBufferSubData = <glBufferSubData_type> find_gl_command([b'glBufferSubData', b'glBufferSubDataARB'])             # <<<<<<<<<<<<<<
 *     glBufferSubData = real_glBufferSubData
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1097, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glBufferSubData);
  __Pyx_GIVEREF(__pyx_n_b_glBufferSubData);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glBufferSubData);
  __Pyx_INCREF(__pyx_n_b_glBufferSubDataARB);
  __Pyx_GIVEREF(__pyx_n_b_glBufferSubDataARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glBufferSubDataARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glBufferSubData = ((__pyx_t_5renpy_3gl2_6uguugl_glBufferSubData_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1098
 *     global real_glBufferSubData, glBufferSubData
 *     real_glBufferSubData = <glBufferSubData_type> find_gl_command([b'glBufferSubData', b'glBufferSubDataARB'])
 *     glBufferSubData = real_glBufferSubData             # <<<<<<<<<<<<<<
 * 
 *     global real_glCheckFramebufferStatus, glCheckFramebufferStatus
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBufferSubData = __pyx_v_5renpy_3gl2_6uguugl_real_glBufferSubData;

  /* "renpy/gl2/uguugl.pyx":1101
 * 
 *     global real_glCheckFramebufferStatus, glCheckFramebufferStatus
 *     real_glCheckFramebufferStatus = <glCheckFramebufferStatus_type> find_gl_command([b'glCheckFramebufferStatus', b'glCheckFramebufferStatusEXT'])             # <<<<<<<<<<<<<<
 *     glCheckFramebufferStatus = real_glCheckFramebufferStatus
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1101, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCheckFramebufferStatus);
  __Pyx_GIVEREF(__pyx_n_b_glCheckFramebufferStatus);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCheckFramebufferStatus);
  __Pyx_INCREF(__pyx_n_b_glCheckFramebufferStatusEXT);
  __Pyx_GIVEREF(__pyx_n_b_glCheckFramebufferStatusEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCheckFramebufferStatusEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCheckFramebufferStatus = ((__pyx_t_5renpy_3gl2_6uguugl_glCheckFramebufferStatus_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1102
 *     global real_glCheckFramebufferStatus, glCheckFramebufferStatus
 *     real_glCheckFramebufferStatus = <glCheckFramebufferStatus_type> find_gl_command([b'glCheckFramebufferStatus', b'glCheckFramebufferStatusEXT'])
 *     glCheckFramebufferStatus = real_glCheckFramebufferStatus             # <<<<<<<<<<<<<<
 * 
 *     global real_glClear, glClear
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCheckFramebufferStatus = __pyx_v_5renpy_3gl2_6uguugl_real_glCheckFramebufferStatus;

  /* "renpy/gl2/uguugl.pyx":1105
 * 
 *     global real_glClear, glClear
 *     real_glClear = <glClear_type> find_gl_command([b'glClear'])             # <<<<<<<<<<<<<<
 *     glClear = real_glClear
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1105, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glClear);
  __Pyx_GIVEREF(__pyx_n_b_glClear);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glClear);
  __pyx_v_5renpy_3gl2_6uguugl_real_glClear = ((__pyx_t_5renpy_3gl2_6uguugl_glClear_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1106
 *     global real_glClear, glClear
 *     real_glClear = <glClear_type> find_gl_command([b'glClear'])
 *     glClear = real_glClear             # <<<<<<<<<<<<<<
 * 
 *     global real_glClearColor, glClearColor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClear = __pyx_v_5renpy_3gl2_6uguugl_real_glClear;

  /* "renpy/gl2/uguugl.pyx":1109
 * 
 *     global real_glClearColor, glClearColor
 *     real_glClearColor = <glClearColor_type> find_gl_command([b'glClearColor'])             # <<<<<<<<<<<<<<
 *     glClearColor = real_glClearColor
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1109, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glClearColor);
  __Pyx_GIVEREF(__pyx_n_b_glClearColor);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glClearColor);
  __pyx_v_5renpy_3gl2_6uguugl_real_glClearColor = ((__pyx_t_5renpy_3gl2_6uguugl_glClearColor_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1110
 *     global real_glClearColor, glClearColor
 *     real_glClearColor = <glClearColor_type> find_gl_command([b'glClearColor'])
 *     glClearColor = real_glClearColor             # <<<<<<<<<<<<<<
 * 
 *     global real_glClearStencil, glClearStencil
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClearColor = __pyx_v_5renpy_3gl2_6uguugl_real_glClearColor;

  /* "renpy/gl2/uguugl.pyx":1113
 * 
 *     global real_glClearStencil, glClearStencil
 *     real_glClearStencil = <glClearStencil_type> find_gl_command([b'glClearStencil'])             # <<<<<<<<<<<<<<
 *     glClearStencil = real_glClearStencil
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1113, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glClearStencil);
  __Pyx_GIVEREF(__pyx_n_b_glClearStencil);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glClearStencil);
  __pyx_v_5renpy_3gl2_6uguugl_real_glClearStencil = ((__pyx_t_5renpy_3gl2_6uguugl_glClearStencil_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1114
 *     global real_glClearStencil, glClearStencil
 *     real_glClearStencil = <glClearStencil_type> find_gl_command([b'glClearStencil'])
 *     glClearStencil = real_glClearStencil             # <<<<<<<<<<<<<<
 * 
 *     global real_glColorMask, glColorMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClearStencil = __pyx_v_5renpy_3gl2_6uguugl_real_glClearStencil;

  /* "renpy/gl2/uguugl.pyx":1117
 * 
 *     global real_glColorMask, glColorMask
 *     real_glColorMask = <glColorMask_type> find_gl_command([b'glColorMask'])             # <<<<<<<<<<<<<<
 *     glColorMask = real_glColorMask
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1117, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glColorMask);
  __Pyx_GIVEREF(__pyx_n_b_glColorMask);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glColorMask);
  __pyx_v_5renpy_3gl2_6uguugl_real_glColorMask = ((__pyx_t_5renpy_3gl2_6uguugl_glColorMask_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1118
 *     global real_glColorMask, glColorMask
 *     real_glColorMask = <glColorMask_type> find_gl_command([b'glColorMask'])
 *     glColorMask = real_glColorMask             # <<<<<<<<<<<<<<
 * 
 *     global real_glCompileShader, glCompileShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glColorMask = __pyx_v_5renpy_3gl2_6uguugl_real_glColorMask;

  /* "renpy/gl2/uguugl.pyx":1121
 * 
 *     global real_glCompileShader, glCompileShader
 *     real_glCompileShader = <glCompileShader_type> find_gl_command([b'glCompileShader', b'glCompileShaderARB'])             # <<<<<<<<<<<<<<
 *     glCompileShader = real_glCompileShader
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1121, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCompileShader);
  __Pyx_GIVEREF(__pyx_n_b_glCompileShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCompileShader);
  __Pyx_INCREF(__pyx_n_b_glCompileShaderARB);
  __Pyx_GIVEREF(__pyx_n_b_glCompileShaderARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCompileShaderARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompileShader = ((__pyx_t_5renpy_3gl2_6uguugl_glCompileShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1122
 *     global real_glCompileShader, glCompileShader
 *     real_glCompileShader = <glCompileShader_type> find_gl_command([b'glCompileShader', b'glCompileShaderARB'])
 *     glCompileShader = real_glCompileShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glCompressedTexImage2D, glCompressedTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompileShader = __pyx_v_5renpy_3gl2_6uguugl_real_glCompileShader;

  /* "renpy/gl2/uguugl.pyx":1125
 * 
 *     global real_glCompressedTexImage2D, glCompressedTexImage2D
 *     real_glCompressedTexImage2D = <glCompressedTexImage2D_type> find_gl_command([b'glCompressedTexImage2D', b'glCompressedTexImage2DARB'])             # <<<<<<<<<<<<<<
 *     glCompressedTexImage2D = real_glCompressedTexImage2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1125, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCompressedTexImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glCompressedTexImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCompressedTexImage2D);
  __Pyx_INCREF(__pyx_n_b_glCompressedTexImage2DARB);
  __Pyx_GIVEREF(__pyx_n_b_glCompressedTexImage2DARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCompressedTexImage2DARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1126
 *     global real_glCompressedTexImage2D, glCompressedTexImage2D
 *     real_glCompressedTexImage2D = <glCompressedTexImage2D_type> find_gl_command([b'glCompressedTexImage2D', b'glCompressedTexImage2DARB'])
 *     glCompressedTexImage2D = real_glCompressedTexImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glCompressedTexSubImage2D, glCompressedTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1129
 * 
 *     global real_glCompressedTexSubImage2D, glCompressedTexSubImage2D
 *     real_glCompressedTexSubImage2D = <glCompressedTexSubImage2D_type> find_gl_command([b'glCompressedTexSubImage2D', b'glCompressedTexSubImage2DARB'])             # <<<<<<<<<<<<<<
 *     glCompressedTexSubImage2D = real_glCompressedTexSubImage2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1129, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCompressedTexSubImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glCompressedTexSubImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCompressedTexSubImage2D);
  __Pyx_INCREF(__pyx_n_b_glCompressedTexSubImage2DARB);
  __Pyx_GIVEREF(__pyx_n_b_glCompressedTexSubImage2DARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCompressedTexSubImage2DARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexSubImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1130
 *     global real_glCompressedTexSubImage2D, glCompressedTexSubImage2D
 *     real_glCompressedTexSubImage2D = <glCompressedTexSubImage2D_type> find_gl_command([b'glCompressedTexSubImage2D', b'glCompressedTexSubImage2DARB'])
 *     glCompressedTexSubImage2D = real_glCompressedTexSubImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glCopyTexImage2D, glCopyTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glCompressedTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1133
 * 
 *     global real_glCopyTexImage2D, glCopyTexImage2D
 *     real_glCopyTexImage2D = <glCopyTexImage2D_type> find_gl_command([b'glCopyTexImage2D', b'glCopyTexImage2DEXT'])             # <<<<<<<<<<<<<<
 *     glCopyTexImage2D = real_glCopyTexImage2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1133, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCopyTexImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glCopyTexImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCopyTexImage2D);
  __Pyx_INCREF(__pyx_n_b_glCopyTexImage2DEXT);
  __Pyx_GIVEREF(__pyx_n_b_glCopyTexImage2DEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCopyTexImage2DEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glCopyTexImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1134
 *     global real_glCopyTexImage2D, glCopyTexImage2D
 *     real_glCopyTexImage2D = <glCopyTexImage2D_type> find_gl_command([b'glCopyTexImage2D', b'glCopyTexImage2DEXT'])
 *     glCopyTexImage2D = real_glCopyTexImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glCopyTexSubImage2D, glCopyTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCopyTexImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1137
 * 
 *     global real_glCopyTexSubImage2D, glCopyTexSubImage2D
 *     real_glCopyTexSubImage2D = <glCopyTexSubImage2D_type> find_gl_command([b'glCopyTexSubImage2D', b'glCopyTexSubImage2DEXT'])             # <<<<<<<<<<<<<<
 *     glCopyTexSubImage2D = real_glCopyTexSubImage2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1137, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCopyTexSubImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glCopyTexSubImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCopyTexSubImage2D);
  __Pyx_INCREF(__pyx_n_b_glCopyTexSubImage2DEXT);
  __Pyx_GIVEREF(__pyx_n_b_glCopyTexSubImage2DEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCopyTexSubImage2DEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexSubImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glCopyTexSubImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1138
 *     global real_glCopyTexSubImage2D, glCopyTexSubImage2D
 *     real_glCopyTexSubImage2D = <glCopyTexSubImage2D_type> find_gl_command([b'glCopyTexSubImage2D', b'glCopyTexSubImage2DEXT'])
 *     glCopyTexSubImage2D = real_glCopyTexSubImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glCreateProgram, glCreateProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCopyTexSubImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glCopyTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1141
 * 
 *     global real_glCreateProgram, glCreateProgram
 *     real_glCreateProgram = <glCreateProgram_type> find_gl_command([b'glCreateProgram', b'glCreateProgramObjectARB'])             # <<<<<<<<<<<<<<
 *     glCreateProgram = real_glCreateProgram
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1141, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCreateProgram);
  __Pyx_GIVEREF(__pyx_n_b_glCreateProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCreateProgram);
  __Pyx_INCREF(__pyx_n_b_glCreateProgramObjectARB);
  __Pyx_GIVEREF(__pyx_n_b_glCreateProgramObjectARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCreateProgramObjectARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCreateProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glCreateProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1142
 *     global real_glCreateProgram, glCreateProgram
 *     real_glCreateProgram = <glCreateProgram_type> find_gl_command([b'glCreateProgram', b'glCreateProgramObjectARB'])
 *     glCreateProgram = real_glCreateProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glCreateShader, glCreateShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCreateProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glCreateProgram;

  /* "renpy/gl2/uguugl.pyx":1145
 * 
 *     global real_glCreateShader, glCreateShader
 *     real_glCreateShader = <glCreateShader_type> find_gl_command([b'glCreateShader', b'glCreateShaderObjectARB'])             # <<<<<<<<<<<<<<
 *     glCreateShader = real_glCreateShader
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1145, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCreateShader);
  __Pyx_GIVEREF(__pyx_n_b_glCreateShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCreateShader);
  __Pyx_INCREF(__pyx_n_b_glCreateShaderObjectARB);
  __Pyx_GIVEREF(__pyx_n_b_glCreateShaderObjectARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glCreateShaderObjectARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCreateShader = ((__pyx_t_5renpy_3gl2_6uguugl_glCreateShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1146
 *     global real_glCreateShader, glCreateShader
 *     real_glCreateShader = <glCreateShader_type> find_gl_command([b'glCreateShader', b'glCreateShaderObjectARB'])
 *     glCreateShader = real_glCreateShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glCullFace, glCullFace
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCreateShader = __pyx_v_5renpy_3gl2_6uguugl_real_glCreateShader;

  /* "renpy/gl2/uguugl.pyx":1149
 * 
 *     global real_glCullFace, glCullFace
 *     real_glCullFace = <glCullFace_type> find_gl_command([b'glCullFace'])             # <<<<<<<<<<<<<<
 *     glCullFace = real_glCullFace
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1149, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glCullFace);
  __Pyx_GIVEREF(__pyx_n_b_glCullFace);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glCullFace);
  __pyx_v_5renpy_3gl2_6uguugl_real_glCullFace = ((__pyx_t_5renpy_3gl2_6uguugl_glCullFace_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1150
 *     global real_glCullFace, glCullFace
 *     real_glCullFace = <glCullFace_type> find_gl_command([b'glCullFace'])
 *     glCullFace = real_glCullFace             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteBuffers, glDeleteBuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCullFace = __pyx_v_5renpy_3gl2_6uguugl_real_glCullFace;

  /* "renpy/gl2/uguugl.pyx":1153
 * 
 *     global real_glDeleteBuffers, glDeleteBuffers
 *     real_glDeleteBuffers = <glDeleteBuffers_type> find_gl_command([b'glDeleteBuffers', b'glDeleteBuffersARB'])             # <<<<<<<<<<<<<<
 *     glDeleteBuffers = real_glDeleteBuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1153, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteBuffers);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteBuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteBuffers);
  __Pyx_INCREF(__pyx_n_b_glDeleteBuffersARB);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteBuffersARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glDeleteBuffersARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteBuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteBuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1154
 *     global real_glDeleteBuffers, glDeleteBuffers
 *     real_glDeleteBuffers = <glDeleteBuffers_type> find_gl_command([b'glDeleteBuffers', b'glDeleteBuffersARB'])
 *     glDeleteBuffers = real_glDeleteBuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteFramebuffers, glDeleteFramebuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteBuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteBuffers;

  /* "renpy/gl2/uguugl.pyx":1157
 * 
 *     global real_glDeleteFramebuffers, glDeleteFramebuffers
 *     real_glDeleteFramebuffers = <glDeleteFramebuffers_type> find_gl_command([b'glDeleteFramebuffers', b'glDeleteFramebuffersEXT'])             # <<<<<<<<<<<<<<
 *     glDeleteFramebuffers = real_glDeleteFramebuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1157, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteFramebuffers);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteFramebuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteFramebuffers);
  __Pyx_INCREF(__pyx_n_b_glDeleteFramebuffersEXT);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteFramebuffersEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glDeleteFramebuffersEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteFramebuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteFramebuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1158
 *     global real_glDeleteFramebuffers, glDeleteFramebuffers
 *     real_glDeleteFramebuffers = <glDeleteFramebuffers_type> find_gl_command([b'glDeleteFramebuffers', b'glDeleteFramebuffersEXT'])
 *     glDeleteFramebuffers = real_glDeleteFramebuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteProgram, glDeleteProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteFramebuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteFramebuffers;

  /* "renpy/gl2/uguugl.pyx":1161
 * 
 *     global real_glDeleteProgram, glDeleteProgram
 *     real_glDeleteProgram = <glDeleteProgram_type> find_gl_command([b'glDeleteProgram'])             # <<<<<<<<<<<<<<
 *     glDeleteProgram = real_glDeleteProgram
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1161, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteProgram);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteProgram);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1162
 *     global real_glDeleteProgram, glDeleteProgram
 *     real_glDeleteProgram = <glDeleteProgram_type> find_gl_command([b'glDeleteProgram'])
 *     glDeleteProgram = real_glDeleteProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteRenderbuffers, glDeleteRenderbuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteProgram;

  /* "renpy/gl2/uguugl.pyx":1165
 * 
 *     global real_glDeleteRenderbuffers, glDeleteRenderbuffers
 *     real_glDeleteRenderbuffers = <glDeleteRenderbuffers_type> find_gl_command([b'glDeleteRenderbuffers', b'glDeleteRenderbuffersEXT'])             # <<<<<<<<<<<<<<
 *     glDeleteRenderbuffers = real_glDeleteRenderbuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1165, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteRenderbuffers);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteRenderbuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteRenderbuffers);
  __Pyx_INCREF(__pyx_n_b_glDeleteRenderbuffersEXT);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteRenderbuffersEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glDeleteRenderbuffersEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteRenderbuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteRenderbuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1166
 *     global real_glDeleteRenderbuffers, glDeleteRenderbuffers
 *     real_glDeleteRenderbuffers = <glDeleteRenderbuffers_type> find_gl_command([b'glDeleteRenderbuffers', b'glDeleteRenderbuffersEXT'])
 *     glDeleteRenderbuffers = real_glDeleteRenderbuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteShader, glDeleteShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteRenderbuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteRenderbuffers;

  /* "renpy/gl2/uguugl.pyx":1169
 * 
 *     global real_glDeleteShader, glDeleteShader
 *     real_glDeleteShader = <glDeleteShader_type> find_gl_command([b'glDeleteShader'])             # <<<<<<<<<<<<<<
 *     glDeleteShader = real_glDeleteShader
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1169, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteShader);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteShader);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteShader = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1170
 *     global real_glDeleteShader, glDeleteShader
 *     real_glDeleteShader = <glDeleteShader_type> find_gl_command([b'glDeleteShader'])
 *     glDeleteShader = real_glDeleteShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glDeleteTextures, glDeleteTextures
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteShader = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteShader;

  /* "renpy/gl2/uguugl.pyx":1173
 * 
 *     global real_glDeleteTextures, glDeleteTextures
 *     real_glDeleteTextures = <glDeleteTextures_type> find_gl_command([b'glDeleteTextures'])             # <<<<<<<<<<<<<<
 *     glDeleteTextures = real_glDeleteTextures
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1173, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDeleteTextures);
  __Pyx_GIVEREF(__pyx_n_b_glDeleteTextures);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDeleteTextures);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteTextures = ((__pyx_t_5renpy_3gl2_6uguugl_glDeleteTextures_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1174
 *     global real_glDeleteTextures, glDeleteTextures
 *     real_glDeleteTextures = <glDeleteTextures_type> find_gl_command([b'glDeleteTextures'])
 *     glDeleteTextures = real_glDeleteTextures             # <<<<<<<<<<<<<<
 * 
 *     global real_glDepthFunc, glDepthFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteTextures = __pyx_v_5renpy_3gl2_6uguugl_real_glDeleteTextures;

  /* "renpy/gl2/uguugl.pyx":1177
 * 
 *     global real_glDepthFunc, glDepthFunc
 *     real_glDepthFunc = <glDepthFunc_type> find_gl_command([b'glDepthFunc'])             # <<<<<<<<<<<<<<
 *     glDepthFunc = real_glDepthFunc
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1177, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDepthFunc);
  __Pyx_GIVEREF(__pyx_n_b_glDepthFunc);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDepthFunc);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDepthFunc = ((__pyx_t_5renpy_3gl2_6uguugl_glDepthFunc_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1178
 *     global real_glDepthFunc, glDepthFunc
 *     real_glDepthFunc = <glDepthFunc_type> find_gl_command([b'glDepthFunc'])
 *     glDepthFunc = real_glDepthFunc             # <<<<<<<<<<<<<<
 * 
 *     global real_glDepthMask, glDepthMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDepthFunc = __pyx_v_5renpy_3gl2_6uguugl_real_glDepthFunc;

  /* "renpy/gl2/uguugl.pyx":1181
 * 
 *     global real_glDepthMask, glDepthMask
 *     real_glDepthMask = <glDepthMask_type> find_gl_command([b'glDepthMask'])             # <<<<<<<<<<<<<<
 *     glDepthMask = real_glDepthMask
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1181, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDepthMask);
  __Pyx_GIVEREF(__pyx_n_b_glDepthMask);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDepthMask);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDepthMask = ((__pyx_t_5renpy_3gl2_6uguugl_glDepthMask_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1182
 *     global real_glDepthMask, glDepthMask
 *     real_glDepthMask = <glDepthMask_type> find_gl_command([b'glDepthMask'])
 *     glDepthMask = real_glDepthMask             # <<<<<<<<<<<<<<
 * 
 *     global real_glDetachShader, glDetachShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDepthMask = __pyx_v_5renpy_3gl2_6uguugl_real_glDepthMask;

  /* "renpy/gl2/uguugl.pyx":1185
 * 
 *     global real_glDetachShader, glDetachShader
 *     real_glDetachShader = <glDetachShader_type> find_gl_command([b'glDetachShader'])             # <<<<<<<<<<<<<<
 *     glDetachShader = real_glDetachShader
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1185, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDetachShader);
  __Pyx_GIVEREF(__pyx_n_b_glDetachShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDetachShader);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDetachShader = ((__pyx_t_5renpy_3gl2_6uguugl_glDetachShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1186
 *     global real_glDetachShader, glDetachShader
 *     real_glDetachShader = <glDetachShader_type> find_gl_command([b'glDetachShader'])
 *     glDetachShader = real_glDetachShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glDisable, glDisable
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDetachShader = __pyx_v_5renpy_3gl2_6uguugl_real_glDetachShader;

  /* "renpy/gl2/uguugl.pyx":1189
 * 
 *     global real_glDisable, glDisable
 *     real_glDisable = <glDisable_type> find_gl_command([b'glDisable'])             # <<<<<<<<<<<<<<
 *     glDisable = real_glDisable
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1189, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDisable);
  __Pyx_GIVEREF(__pyx_n_b_glDisable);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDisable);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDisable = ((__pyx_t_5renpy_3gl2_6uguugl_glDisable_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1190
 *     global real_glDisable, glDisable
 *     real_glDisable = <glDisable_type> find_gl_command([b'glDisable'])
 *     glDisable = real_glDisable             # <<<<<<<<<<<<<<
 * 
 *     global real_glDisableVertexAttribArray, glDisableVertexAttribArray
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDisable = __pyx_v_5renpy_3gl2_6uguugl_real_glDisable;

  /* "renpy/gl2/uguugl.pyx":1193
 * 
 *     global real_glDisableVertexAttribArray, glDisableVertexAttribArray
 *     real_glDisableVertexAttribArray = <glDisableVertexAttribArray_type> find_gl_command([b'glDisableVertexAttribArray', b'glDisableVertexAttribArrayARB'])             # <<<<<<<<<<<<<<
 *     glDisableVertexAttribArray = real_glDisableVertexAttribArray
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1193, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDisableVertexAttribArray);
  __Pyx_GIVEREF(__pyx_n_b_glDisableVertexAttribArray);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDisableVertexAttribArray);
  __Pyx_INCREF(__pyx_n_b_glDisableVertexAttribArrayARB);
  __Pyx_GIVEREF(__pyx_n_b_glDisableVertexAttribArrayARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glDisableVertexAttribArrayARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDisableVertexAttribArray = ((__pyx_t_5renpy_3gl2_6uguugl_glDisableVertexAttribArray_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1194
 *     global real_glDisableVertexAttribArray, glDisableVertexAttribArray
 *     real_glDisableVertexAttribArray = <glDisableVertexAttribArray_type> find_gl_command([b'glDisableVertexAttribArray', b'glDisableVertexAttribArrayARB'])
 *     glDisableVertexAttribArray = real_glDisableVertexAttribArray             # <<<<<<<<<<<<<<
 * 
 *     global real_glDrawArrays, glDrawArrays
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDisableVertexAttribArray = __pyx_v_5renpy_3gl2_6uguugl_real_glDisableVertexAttribArray;

  /* "renpy/gl2/uguugl.pyx":1197
 * 
 *     global real_glDrawArrays, glDrawArrays
 *     real_glDrawArrays = <glDrawArrays_type> find_gl_command([b'glDrawArrays', b'glDrawArraysEXT'])             # <<<<<<<<<<<<<<
 *     glDrawArrays = real_glDrawArrays
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1197, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDrawArrays);
  __Pyx_GIVEREF(__pyx_n_b_glDrawArrays);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDrawArrays);
  __Pyx_INCREF(__pyx_n_b_glDrawArraysEXT);
  __Pyx_GIVEREF(__pyx_n_b_glDrawArraysEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glDrawArraysEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDrawArrays = ((__pyx_t_5renpy_3gl2_6uguugl_glDrawArrays_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1198
 *     global real_glDrawArrays, glDrawArrays
 *     real_glDrawArrays = <glDrawArrays_type> find_gl_command([b'glDrawArrays', b'glDrawArraysEXT'])
 *     glDrawArrays = real_glDrawArrays             # <<<<<<<<<<<<<<
 * 
 *     global real_glDrawElements, glDrawElements
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDrawArrays = __pyx_v_5renpy_3gl2_6uguugl_real_glDrawArrays;

  /* "renpy/gl2/uguugl.pyx":1201
 * 
 *     global real_glDrawElements, glDrawElements
 *     real_glDrawElements = <glDrawElements_type> find_gl_command([b'glDrawElements'])             # <<<<<<<<<<<<<<
 *     glDrawElements = real_glDrawElements
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1201, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glDrawElements);
  __Pyx_GIVEREF(__pyx_n_b_glDrawElements);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glDrawElements);
  __pyx_v_5renpy_3gl2_6uguugl_real_glDrawElements = ((__pyx_t_5renpy_3gl2_6uguugl_glDrawElements_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1202
 *     global real_glDrawElements, glDrawElements
 *     real_glDrawElements = <glDrawElements_type> find_gl_command([b'glDrawElements'])
 *     glDrawElements = real_glDrawElements             # <<<<<<<<<<<<<<
 * 
 *     global real_glEnable, glEnable
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDrawElements = __pyx_v_5renpy_3gl2_6uguugl_real_glDrawElements;

  /* "renpy/gl2/uguugl.pyx":1205
 * 
 *     global real_glEnable, glEnable
 *     real_glEnable = <glEnable_type> find_gl_command([b'glEnable'])             # <<<<<<<<<<<<<<
 *     glEnable = real_glEnable
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1205, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glEnable);
  __Pyx_GIVEREF(__pyx_n_b_glEnable);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glEnable);
  __pyx_v_5renpy_3gl2_6uguugl_real_glEnable = ((__pyx_t_5renpy_3gl2_6uguugl_glEnable_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1206
 *     global real_glEnable, glEnable
 *     real_glEnable = <glEnable_type> find_gl_command([b'glEnable'])
 *     glEnable = real_glEnable             # <<<<<<<<<<<<<<
 * 
 *     global real_glEnableVertexAttribArray, glEnableVertexAttribArray
 */
  __pyx_v_5renpy_3gl2_6uguugl_glEnable = __pyx_v_5renpy_3gl2_6uguugl_real_glEnable;

  /* "renpy/gl2/uguugl.pyx":1209
 * 
 *     global real_glEnableVertexAttribArray, glEnableVertexAttribArray
 *     real_glEnableVertexAttribArray = <glEnableVertexAttribArray_type> find_gl_command([b'glEnableVertexAttribArray', b'glEnableVertexAttribArrayARB'])             # <<<<<<<<<<<<<<
 *     glEnableVertexAttribArray = real_glEnableVertexAttribArray
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1209, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glEnableVertexAttribArray);
  __Pyx_GIVEREF(__pyx_n_b_glEnableVertexAttribArray);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glEnableVertexAttribArray);
  __Pyx_INCREF(__pyx_n_b_glEnableVertexAttribArrayARB);
  __Pyx_GIVEREF(__pyx_n_b_glEnableVertexAttribArrayARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glEnableVertexAttribArrayARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glEnableVertexAttribArray = ((__pyx_t_5renpy_3gl2_6uguugl_glEnableVertexAttribArray_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1210
 *     global real_glEnableVertexAttribArray, glEnableVertexAttribArray
 *     real_glEnableVertexAttribArray = <glEnableVertexAttribArray_type> find_gl_command([b'glEnableVertexAttribArray', b'glEnableVertexAttribArrayARB'])
 *     glEnableVertexAttribArray = real_glEnableVertexAttribArray             # <<<<<<<<<<<<<<
 * 
 *     global real_glFinish, glFinish
 */
  __pyx_v_5renpy_3gl2_6uguugl_glEnableVertexAttribArray = __pyx_v_5renpy_3gl2_6uguugl_real_glEnableVertexAttribArray;

  /* "renpy/gl2/uguugl.pyx":1213
 * 
 *     global real_glFinish, glFinish
 *     real_glFinish = <glFinish_type> find_gl_command([b'glFinish'])             # <<<<<<<<<<<<<<
 *     glFinish = real_glFinish
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1213, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glFinish);
  __Pyx_GIVEREF(__pyx_n_b_glFinish);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glFinish);
  __pyx_v_5renpy_3gl2_6uguugl_real_glFinish = ((__pyx_t_5renpy_3gl2_6uguugl_glFinish_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1214
 *     global real_glFinish, glFinish
 *     real_glFinish = <glFinish_type> find_gl_command([b'glFinish'])
 *     glFinish = real_glFinish             # <<<<<<<<<<<<<<
 * 
 *     global real_glFlush, glFlush
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFinish = __pyx_v_5renpy_3gl2_6uguugl_real_glFinish;

  /* "renpy/gl2/uguugl.pyx":1217
 * 
 *     global real_glFlush, glFlush
 *     real_glFlush = <glFlush_type> find_gl_command([b'glFlush'])             # <<<<<<<<<<<<<<
 *     glFlush = real_glFlush
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1217, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glFlush);
  __Pyx_GIVEREF(__pyx_n_b_glFlush);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glFlush);
  __pyx_v_5renpy_3gl2_6uguugl_real_glFlush = ((__pyx_t_5renpy_3gl2_6uguugl_glFlush_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1218
 *     global real_glFlush, glFlush
 *     real_glFlush = <glFlush_type> find_gl_command([b'glFlush'])
 *     glFlush = real_glFlush             # <<<<<<<<<<<<<<
 * 
 *     global real_glFramebufferRenderbuffer, glFramebufferRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFlush = __pyx_v_5renpy_3gl2_6uguugl_real_glFlush;

  /* "renpy/gl2/uguugl.pyx":1221
 * 
 *     global real_glFramebufferRenderbuffer, glFramebufferRenderbuffer
 *     real_glFramebufferRenderbuffer = <glFramebufferRenderbuffer_type> find_gl_command([b'glFramebufferRenderbuffer', b'glFramebufferRenderbufferEXT'])             # <<<<<<<<<<<<<<
 *     glFramebufferRenderbuffer = real_glFramebufferRenderbuffer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glFramebufferRenderbuffer);
  __Pyx_GIVEREF(__pyx_n_b_glFramebufferRenderbuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glFramebufferRenderbuffer);
  __Pyx_INCREF(__pyx_n_b_glFramebufferRenderbufferEXT);
  __Pyx_GIVEREF(__pyx_n_b_glFramebufferRenderbufferEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glFramebufferRenderbufferEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferRenderbuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1222
 *     global real_glFramebufferRenderbuffer, glFramebufferRenderbuffer
 *     real_glFramebufferRenderbuffer = <glFramebufferRenderbuffer_type> find_gl_command([b'glFramebufferRenderbuffer', b'glFramebufferRenderbufferEXT'])
 *     glFramebufferRenderbuffer = real_glFramebufferRenderbuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glFramebufferTexture2D, glFramebufferTexture2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1225
 * 
 *     global real_glFramebufferTexture2D, glFramebufferTexture2D
 *     real_glFramebufferTexture2D = <glFramebufferTexture2D_type> find_gl_command([b'glFramebufferTexture2D', b'glFramebufferTexture2DEXT'])             # <<<<<<<<<<<<<<
 *     glFramebufferTexture2D = real_glFramebufferTexture2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1225, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glFramebufferTexture2D);
  __Pyx_GIVEREF(__pyx_n_b_glFramebufferTexture2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glFramebufferTexture2D);
  __Pyx_INCREF(__pyx_n_b_glFramebufferTexture2DEXT);
  __Pyx_GIVEREF(__pyx_n_b_glFramebufferTexture2DEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glFramebufferTexture2DEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferTexture2D = ((__pyx_t_5renpy_3gl2_6uguugl_glFramebufferTexture2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1226
 *     global real_glFramebufferTexture2D, glFramebufferTexture2D
 *     real_glFramebufferTexture2D = <glFramebufferTexture2D_type> find_gl_command([b'glFramebufferTexture2D', b'glFramebufferTexture2DEXT'])
 *     glFramebufferTexture2D = real_glFramebufferTexture2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glFrontFace, glFrontFace
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFramebufferTexture2D = __pyx_v_5renpy_3gl2_6uguugl_real_glFramebufferTexture2D;

  /* "renpy/gl2/uguugl.pyx":1229
 * 
 *     global real_glFrontFace, glFrontFace
 *     real_glFrontFace = <glFrontFace_type> find_gl_command([b'glFrontFace'])             # <<<<<<<<<<<<<<
 *     glFrontFace = real_glFrontFace
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1229, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glFrontFace);
  __Pyx_GIVEREF(__pyx_n_b_glFrontFace);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glFrontFace);
  __pyx_v_5renpy_3gl2_6uguugl_real_glFrontFace = ((__pyx_t_5renpy_3gl2_6uguugl_glFrontFace_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1230
 *     global real_glFrontFace, glFrontFace
 *     real_glFrontFace = <glFrontFace_type> find_gl_command([b'glFrontFace'])
 *     glFrontFace = real_glFrontFace             # <<<<<<<<<<<<<<
 * 
 *     global real_glGenBuffers, glGenBuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFrontFace = __pyx_v_5renpy_3gl2_6uguugl_real_glFrontFace;

  /* "renpy/gl2/uguugl.pyx":1233
 * 
 *     global real_glGenBuffers, glGenBuffers
 *     real_glGenBuffers = <glGenBuffers_type> find_gl_command([b'glGenBuffers', b'glGenBuffersARB'])             # <<<<<<<<<<<<<<
 *     glGenBuffers = real_glGenBuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1233, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGenBuffers);
  __Pyx_GIVEREF(__pyx_n_b_glGenBuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGenBuffers);
  __Pyx_INCREF(__pyx_n_b_glGenBuffersARB);
  __Pyx_GIVEREF(__pyx_n_b_glGenBuffersARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGenBuffersARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenBuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glGenBuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1234
 *     global real_glGenBuffers, glGenBuffers
 *     real_glGenBuffers = <glGenBuffers_type> find_gl_command([b'glGenBuffers', b'glGenBuffersARB'])
 *     glGenBuffers = real_glGenBuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glGenFramebuffers, glGenFramebuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenBuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glGenBuffers;

  /* "renpy/gl2/uguugl.pyx":1237
 * 
 *     global real_glGenFramebuffers, glGenFramebuffers
 *     real_glGenFramebuffers = <glGenFramebuffers_type> find_gl_command([b'glGenFramebuffers', b'glGenFramebuffersEXT'])             # <<<<<<<<<<<<<<
 *     glGenFramebuffers = real_glGenFramebuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1237, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGenFramebuffers);
  __Pyx_GIVEREF(__pyx_n_b_glGenFramebuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGenFramebuffers);
  __Pyx_INCREF(__pyx_n_b_glGenFramebuffersEXT);
  __Pyx_GIVEREF(__pyx_n_b_glGenFramebuffersEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGenFramebuffersEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenFramebuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glGenFramebuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1238
 *     global real_glGenFramebuffers, glGenFramebuffers
 *     real_glGenFramebuffers = <glGenFramebuffers_type> find_gl_command([b'glGenFramebuffers', b'glGenFramebuffersEXT'])
 *     glGenFramebuffers = real_glGenFramebuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glGenRenderbuffers, glGenRenderbuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenFramebuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glGenFramebuffers;

  /* "renpy/gl2/uguugl.pyx":1241
 * 
 *     global real_glGenRenderbuffers, glGenRenderbuffers
 *     real_glGenRenderbuffers = <glGenRenderbuffers_type> find_gl_command([b'glGenRenderbuffers', b'glGenRenderbuffersEXT'])             # <<<<<<<<<<<<<<
 *     glGenRenderbuffers = real_glGenRenderbuffers
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1241, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGenRenderbuffers);
  __Pyx_GIVEREF(__pyx_n_b_glGenRenderbuffers);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGenRenderbuffers);
  __Pyx_INCREF(__pyx_n_b_glGenRenderbuffersEXT);
  __Pyx_GIVEREF(__pyx_n_b_glGenRenderbuffersEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGenRenderbuffersEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenRenderbuffers = ((__pyx_t_5renpy_3gl2_6uguugl_glGenRenderbuffers_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1242
 *     global real_glGenRenderbuffers, glGenRenderbuffers
 *     real_glGenRenderbuffers = <glGenRenderbuffers_type> find_gl_command([b'glGenRenderbuffers', b'glGenRenderbuffersEXT'])
 *     glGenRenderbuffers = real_glGenRenderbuffers             # <<<<<<<<<<<<<<
 * 
 *     global real_glGenTextures, glGenTextures
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenRenderbuffers = __pyx_v_5renpy_3gl2_6uguugl_real_glGenRenderbuffers;

  /* "renpy/gl2/uguugl.pyx":1245
 * 
 *     global real_glGenTextures, glGenTextures
 *     real_glGenTextures = <glGenTextures_type> find_gl_command([b'glGenTextures'])             # <<<<<<<<<<<<<<
 *     glGenTextures = real_glGenTextures
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1245, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGenTextures);
  __Pyx_GIVEREF(__pyx_n_b_glGenTextures);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGenTextures);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenTextures = ((__pyx_t_5renpy_3gl2_6uguugl_glGenTextures_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1246
 *     global real_glGenTextures, glGenTextures
 *     real_glGenTextures = <glGenTextures_type> find_gl_command([b'glGenTextures'])
 *     glGenTextures = real_glGenTextures             # <<<<<<<<<<<<<<
 * 
 *     global real_glGenerateMipmap, glGenerateMipmap
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenTextures = __pyx_v_5renpy_3gl2_6uguugl_real_glGenTextures;

  /* "renpy/gl2/uguugl.pyx":1249
 * 
 *     global real_glGenerateMipmap, glGenerateMipmap
 *     real_glGenerateMipmap = <glGenerateMipmap_type> find_gl_command([b'glGenerateMipmap', b'glGenerateMipmapEXT'])             # <<<<<<<<<<<<<<
 *     glGenerateMipmap = real_glGenerateMipmap
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1249, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGenerateMipmap);
  __Pyx_GIVEREF(__pyx_n_b_glGenerateMipmap);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGenerateMipmap);
  __Pyx_INCREF(__pyx_n_b_glGenerateMipmapEXT);
  __Pyx_GIVEREF(__pyx_n_b_glGenerateMipmapEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGenerateMipmapEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGenerateMipmap = ((__pyx_t_5renpy_3gl2_6uguugl_glGenerateMipmap_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1250
 *     global real_glGenerateMipmap, glGenerateMipmap
 *     real_glGenerateMipmap = <glGenerateMipmap_type> find_gl_command([b'glGenerateMipmap', b'glGenerateMipmapEXT'])
 *     glGenerateMipmap = real_glGenerateMipmap             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetActiveAttrib, glGetActiveAttrib
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenerateMipmap = __pyx_v_5renpy_3gl2_6uguugl_real_glGenerateMipmap;

  /* "renpy/gl2/uguugl.pyx":1253
 * 
 *     global real_glGetActiveAttrib, glGetActiveAttrib
 *     real_glGetActiveAttrib = <glGetActiveAttrib_type> find_gl_command([b'glGetActiveAttrib', b'glGetActiveAttribARB'])             # <<<<<<<<<<<<<<
 *     glGetActiveAttrib = real_glGetActiveAttrib
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1253, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetActiveAttrib);
  __Pyx_GIVEREF(__pyx_n_b_glGetActiveAttrib);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetActiveAttrib);
  __Pyx_INCREF(__pyx_n_b_glGetActiveAttribARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetActiveAttribARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetActiveAttribARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveAttrib = ((__pyx_t_5renpy_3gl2_6uguugl_glGetActiveAttrib_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1254
 *     global real_glGetActiveAttrib, glGetActiveAttrib
 *     real_glGetActiveAttrib = <glGetActiveAttrib_type> find_gl_command([b'glGetActiveAttrib', b'glGetActiveAttribARB'])
 *     glGetActiveAttrib = real_glGetActiveAttrib             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetActiveUniform, glGetActiveUniform
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetActiveAttrib = __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveAttrib;

  /* "renpy/gl2/uguugl.pyx":1257
 * 
 *     global real_glGetActiveUniform, glGetActiveUniform
 *     real_glGetActiveUniform = <glGetActiveUniform_type> find_gl_command([b'glGetActiveUniform', b'glGetActiveUniformARB'])             # <<<<<<<<<<<<<<
 *     glGetActiveUniform = real_glGetActiveUniform
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetActiveUniform);
  __Pyx_GIVEREF(__pyx_n_b_glGetActiveUniform);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetActiveUniform);
  __Pyx_INCREF(__pyx_n_b_glGetActiveUniformARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetActiveUniformARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetActiveUniformARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveUniform = ((__pyx_t_5renpy_3gl2_6uguugl_glGetActiveUniform_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1258
 *     global real_glGetActiveUniform, glGetActiveUniform
 *     real_glGetActiveUniform = <glGetActiveUniform_type> find_gl_command([b'glGetActiveUniform', b'glGetActiveUniformARB'])
 *     glGetActiveUniform = real_glGetActiveUniform             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetAttachedShaders, glGetAttachedShaders
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetActiveUniform = __pyx_v_5renpy_3gl2_6uguugl_real_glGetActiveUniform;

  /* "renpy/gl2/uguugl.pyx":1261
 * 
 *     global real_glGetAttachedShaders, glGetAttachedShaders
 *     real_glGetAttachedShaders = <glGetAttachedShaders_type> find_gl_command([b'glGetAttachedShaders'])             # <<<<<<<<<<<<<<
 *     glGetAttachedShaders = real_glGetAttachedShaders
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1261, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetAttachedShaders);
  __Pyx_GIVEREF(__pyx_n_b_glGetAttachedShaders);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetAttachedShaders);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttachedShaders = ((__pyx_t_5renpy_3gl2_6uguugl_glGetAttachedShaders_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1262
 *     global real_glGetAttachedShaders, glGetAttachedShaders
 *     real_glGetAttachedShaders = <glGetAttachedShaders_type> find_gl_command([b'glGetAttachedShaders'])
 *     glGetAttachedShaders = real_glGetAttachedShaders             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetAttribLocation, glGetAttribLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetAttachedShaders = __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttachedShaders;

  /* "renpy/gl2/uguugl.pyx":1265
 * 
 *     global real_glGetAttribLocation, glGetAttribLocation
 *     real_glGetAttribLocation = <glGetAttribLocation_type> find_gl_command([b'glGetAttribLocation', b'glGetAttribLocationARB'])             # <<<<<<<<<<<<<<
 *     glGetAttribLocation = real_glGetAttribLocation
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1265, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetAttribLocation);
  __Pyx_GIVEREF(__pyx_n_b_glGetAttribLocation);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetAttribLocation);
  __Pyx_INCREF(__pyx_n_b_glGetAttribLocationARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetAttribLocationARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetAttribLocationARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttribLocation = ((__pyx_t_5renpy_3gl2_6uguugl_glGetAttribLocation_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1266
 *     global real_glGetAttribLocation, glGetAttribLocation
 *     real_glGetAttribLocation = <glGetAttribLocation_type> find_gl_command([b'glGetAttribLocation', b'glGetAttribLocationARB'])
 *     glGetAttribLocation = real_glGetAttribLocation             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetBooleanv, glGetBooleanv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetAttribLocation = __pyx_v_5renpy_3gl2_6uguugl_real_glGetAttribLocation;

  /* "renpy/gl2/uguugl.pyx":1269
 * 
 *     global real_glGetBooleanv, glGetBooleanv
 *     real_glGetBooleanv = <glGetBooleanv_type> find_gl_command([b'glGetBooleanv'])             # <<<<<<<<<<<<<<
 *     glGetBooleanv = real_glGetBooleanv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1269, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetBooleanv);
  __Pyx_GIVEREF(__pyx_n_b_glGetBooleanv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetBooleanv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetBooleanv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetBooleanv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1270
 *     global real_glGetBooleanv, glGetBooleanv
 *     real_glGetBooleanv = <glGetBooleanv_type> find_gl_command([b'glGetBooleanv'])
 *     glGetBooleanv = real_glGetBooleanv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetBufferParameteriv, glGetBufferParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetBooleanv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetBooleanv;

  /* "renpy/gl2/uguugl.pyx":1273
 * 
 *     global real_glGetBufferParameteriv, glGetBufferParameteriv
 *     real_glGetBufferParameteriv = <glGetBufferParameteriv_type> find_gl_command([b'glGetBufferParameteriv', b'glGetBufferParameterivARB'])             # <<<<<<<<<<<<<<
 *     glGetBufferParameteriv = real_glGetBufferParameteriv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1273, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetBufferParameteriv);
  __Pyx_GIVEREF(__pyx_n_b_glGetBufferParameteriv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetBufferParameteriv);
  __Pyx_INCREF(__pyx_n_b_glGetBufferParameterivARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetBufferParameterivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetBufferParameterivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetBufferParameteriv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetBufferParameteriv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1274
 *     global real_glGetBufferParameteriv, glGetBufferParameteriv
 *     real_glGetBufferParameteriv = <glGetBufferParameteriv_type> find_gl_command([b'glGetBufferParameteriv', b'glGetBufferParameterivARB'])
 *     glGetBufferParameteriv = real_glGetBufferParameteriv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetError, glGetError
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetBufferParameteriv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetBufferParameteriv;

  /* "renpy/gl2/uguugl.pyx":1277
 * 
 *     global real_glGetError, glGetError
 *     real_glGetError = <glGetError_type> find_gl_command([b'glGetError'])             # <<<<<<<<<<<<<<
 *     glGetError = real_glGetError
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1277, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetError);
  __Pyx_GIVEREF(__pyx_n_b_glGetError);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetError);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetError = ((__pyx_t_5renpy_3gl2_6uguugl_glGetError_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1278
 *     global real_glGetError, glGetError
 *     real_glGetError = <glGetError_type> find_gl_command([b'glGetError'])
 *     glGetError = real_glGetError             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetFloatv, glGetFloatv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetError = __pyx_v_5renpy_3gl2_6uguugl_real_glGetError;

  /* "renpy/gl2/uguugl.pyx":1281
 * 
 *     global real_glGetFloatv, glGetFloatv
 *     real_glGetFloatv = <glGetFloatv_type> find_gl_command([b'glGetFloatv'])             # <<<<<<<<<<<<<<
 *     glGetFloatv = real_glGetFloatv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1281, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetFloatv);
  __Pyx_GIVEREF(__pyx_n_b_glGetFloatv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetFloatv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetFloatv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetFloatv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1282
 *     global real_glGetFloatv, glGetFloatv
 *     real_glGetFloatv = <glGetFloatv_type> find_gl_command([b'glGetFloatv'])
 *     glGetFloatv = real_glGetFloatv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetFloatv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetFloatv;

  /* "renpy/gl2/uguugl.pyx":1285
 * 
 *     global real_glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv
 *     real_glGetFramebufferAttachmentParameteriv = <glGetFramebufferAttachmentParameteriv_type> find_gl_command([b'glGetFramebufferAttachmentParameteriv', b'glGetFramebufferAttachmentParameterivEXT'])             # <<<<<<<<<<<<<<
 *     glGetFramebufferAttachmentParameteriv = real_glGetFramebufferAttachmentParameteriv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1285, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetFramebufferAttachmentParame);
  __Pyx_GIVEREF(__pyx_n_b_glGetFramebufferAttachmentParame);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetFramebufferAttachmentParame);
  __Pyx_INCREF(__pyx_n_b_glGetFramebufferAttachmentParame_2);
  __Pyx_GIVEREF(__pyx_n_b_glGetFramebufferAttachmentParame_2);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetFramebufferAttachmentParame_2);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetFramebufferAttachmentParameteriv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1286
 *     global real_glGetFramebufferAttachmentParameteriv, glGetFramebufferAttachmentParameteriv
 *     real_glGetFramebufferAttachmentParameteriv = <glGetFramebufferAttachmentParameteriv_type> find_gl_command([b'glGetFramebufferAttachmentParameteriv', b'glGetFramebufferAttachmentParameterivEXT'])
 *     glGetFramebufferAttachmentParameteriv = real_glGetFramebufferAttachmentParameteriv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetIntegerv, glGetIntegerv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetFramebufferAttachmentParameteriv;

  /* "renpy/gl2/uguugl.pyx":1289
 * 
 *     global real_glGetIntegerv, glGetIntegerv
 *     real_glGetIntegerv = <glGetIntegerv_type> find_gl_command([b'glGetIntegerv'])             # <<<<<<<<<<<<<<
 *     glGetIntegerv = real_glGetIntegerv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1289, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetIntegerv);
  __Pyx_GIVEREF(__pyx_n_b_glGetIntegerv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetIntegerv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetIntegerv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetIntegerv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1290
 *     global real_glGetIntegerv, glGetIntegerv
 *     real_glGetIntegerv = <glGetIntegerv_type> find_gl_command([b'glGetIntegerv'])
 *     glGetIntegerv = real_glGetIntegerv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetProgramInfoLog, glGetProgramInfoLog
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetIntegerv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetIntegerv;

  /* "renpy/gl2/uguugl.pyx":1293
 * 
 *     global real_glGetProgramInfoLog, glGetProgramInfoLog
 *     real_glGetProgramInfoLog = <glGetProgramInfoLog_type> find_gl_command([b'glGetProgramInfoLog'])             # <<<<<<<<<<<<<<
 *     glGetProgramInfoLog = real_glGetProgramInfoLog
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1293, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetProgramInfoLog);
  __Pyx_GIVEREF(__pyx_n_b_glGetProgramInfoLog);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetProgramInfoLog);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramInfoLog = ((__pyx_t_5renpy_3gl2_6uguugl_glGetProgramInfoLog_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1294
 *     global real_glGetProgramInfoLog, glGetProgramInfoLog
 *     real_glGetProgramInfoLog = <glGetProgramInfoLog_type> find_gl_command([b'glGetProgramInfoLog'])
 *     glGetProgramInfoLog = real_glGetProgramInfoLog             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetProgramiv, glGetProgramiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetProgramInfoLog = __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramInfoLog;

  /* "renpy/gl2/uguugl.pyx":1297
 * 
 *     global real_glGetProgramiv, glGetProgramiv
 *     real_glGetProgramiv = <glGetProgramiv_type> find_gl_command([b'glGetProgramiv'])             # <<<<<<<<<<<<<<
 *     glGetProgramiv = real_glGetProgramiv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1297, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetProgramiv);
  __Pyx_GIVEREF(__pyx_n_b_glGetProgramiv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetProgramiv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramiv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetProgramiv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1298
 *     global real_glGetProgramiv, glGetProgramiv
 *     real_glGetProgramiv = <glGetProgramiv_type> find_gl_command([b'glGetProgramiv'])
 *     glGetProgramiv = real_glGetProgramiv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetRenderbufferParameteriv, glGetRenderbufferParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetProgramiv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetProgramiv;

  /* "renpy/gl2/uguugl.pyx":1301
 * 
 *     global real_glGetRenderbufferParameteriv, glGetRenderbufferParameteriv
 *     real_glGetRenderbufferParameteriv = <glGetRenderbufferParameteriv_type> find_gl_command([b'glGetRenderbufferParameteriv', b'glGetRenderbufferParameterivEXT'])             # <<<<<<<<<<<<<<
 *     glGetRenderbufferParameteriv = real_glGetRenderbufferParameteriv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1301, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetRenderbufferParameteriv);
  __Pyx_GIVEREF(__pyx_n_b_glGetRenderbufferParameteriv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetRenderbufferParameteriv);
  __Pyx_INCREF(__pyx_n_b_glGetRenderbufferParameterivEXT);
  __Pyx_GIVEREF(__pyx_n_b_glGetRenderbufferParameterivEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetRenderbufferParameterivEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetRenderbufferParameteriv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1302
 *     global real_glGetRenderbufferParameteriv, glGetRenderbufferParameteriv
 *     real_glGetRenderbufferParameteriv = <glGetRenderbufferParameteriv_type> find_gl_command([b'glGetRenderbufferParameteriv', b'glGetRenderbufferParameterivEXT'])
 *     glGetRenderbufferParameteriv = real_glGetRenderbufferParameteriv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetShaderInfoLog, glGetShaderInfoLog
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetRenderbufferParameteriv;

  /* "renpy/gl2/uguugl.pyx":1305
 * 
 *     global real_glGetShaderInfoLog, glGetShaderInfoLog
 *     real_glGetShaderInfoLog = <glGetShaderInfoLog_type> find_gl_command([b'glGetShaderInfoLog'])             # <<<<<<<<<<<<<<
 *     glGetShaderInfoLog = real_glGetShaderInfoLog
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1305, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetShaderInfoLog);
  __Pyx_GIVEREF(__pyx_n_b_glGetShaderInfoLog);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetShaderInfoLog);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderInfoLog = ((__pyx_t_5renpy_3gl2_6uguugl_glGetShaderInfoLog_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1306
 *     global real_glGetShaderInfoLog, glGetShaderInfoLog
 *     real_glGetShaderInfoLog = <glGetShaderInfoLog_type> find_gl_command([b'glGetShaderInfoLog'])
 *     glGetShaderInfoLog = real_glGetShaderInfoLog             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetShaderSource, glGetShaderSource
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderInfoLog = __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderInfoLog;

  /* "renpy/gl2/uguugl.pyx":1309
 * 
 *     global real_glGetShaderSource, glGetShaderSource
 *     real_glGetShaderSource = <glGetShaderSource_type> find_gl_command([b'glGetShaderSource', b'glGetShaderSourceARB'])             # <<<<<<<<<<<<<<
 *     glGetShaderSource = real_glGetShaderSource
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1309, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetShaderSource);
  __Pyx_GIVEREF(__pyx_n_b_glGetShaderSource);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetShaderSource);
  __Pyx_INCREF(__pyx_n_b_glGetShaderSourceARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetShaderSourceARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetShaderSourceARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderSource = ((__pyx_t_5renpy_3gl2_6uguugl_glGetShaderSource_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1310
 *     global real_glGetShaderSource, glGetShaderSource
 *     real_glGetShaderSource = <glGetShaderSource_type> find_gl_command([b'glGetShaderSource', b'glGetShaderSourceARB'])
 *     glGetShaderSource = real_glGetShaderSource             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetShaderiv, glGetShaderiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderSource = __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderSource;

  /* "renpy/gl2/uguugl.pyx":1313
 * 
 *     global real_glGetShaderiv, glGetShaderiv
 *     real_glGetShaderiv = <glGetShaderiv_type> find_gl_command([b'glGetShaderiv'])             # <<<<<<<<<<<<<<
 *     glGetShaderiv = real_glGetShaderiv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1313, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetShaderiv);
  __Pyx_GIVEREF(__pyx_n_b_glGetShaderiv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetShaderiv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderiv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetShaderiv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1314
 *     global real_glGetShaderiv, glGetShaderiv
 *     real_glGetShaderiv = <glGetShaderiv_type> find_gl_command([b'glGetShaderiv'])
 *     glGetShaderiv = real_glGetShaderiv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetString, glGetString
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderiv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetShaderiv;

  /* "renpy/gl2/uguugl.pyx":1317
 * 
 *     global real_glGetString, glGetString
 *     real_glGetString = <glGetString_type> find_gl_command([b'glGetString'])             # <<<<<<<<<<<<<<
 *     glGetString = real_glGetString
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1317, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetString);
  __Pyx_GIVEREF(__pyx_n_b_glGetString);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetString);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetString = ((__pyx_t_5renpy_3gl2_6uguugl_glGetString_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1318
 *     global real_glGetString, glGetString
 *     real_glGetString = <glGetString_type> find_gl_command([b'glGetString'])
 *     glGetString = real_glGetString             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetTexParameterfv, glGetTexParameterfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetString = __pyx_v_5renpy_3gl2_6uguugl_real_glGetString;

  /* "renpy/gl2/uguugl.pyx":1321
 * 
 *     global real_glGetTexParameterfv, glGetTexParameterfv
 *     real_glGetTexParameterfv = <glGetTexParameterfv_type> find_gl_command([b'glGetTexParameterfv'])             # <<<<<<<<<<<<<<
 *     glGetTexParameterfv = real_glGetTexParameterfv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1321, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetTexParameterfv);
  __Pyx_GIVEREF(__pyx_n_b_glGetTexParameterfv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetTexParameterfv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameterfv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameterfv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1322
 *     global real_glGetTexParameterfv, glGetTexParameterfv
 *     real_glGetTexParameterfv = <glGetTexParameterfv_type> find_gl_command([b'glGetTexParameterfv'])
 *     glGetTexParameterfv = real_glGetTexParameterfv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetTexParameteriv, glGetTexParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameterfv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameterfv;

  /* "renpy/gl2/uguugl.pyx":1325
 * 
 *     global real_glGetTexParameteriv, glGetTexParameteriv
 *     real_glGetTexParameteriv = <glGetTexParameteriv_type> find_gl_command([b'glGetTexParameteriv'])             # <<<<<<<<<<<<<<
 *     glGetTexParameteriv = real_glGetTexParameteriv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1325, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetTexParameteriv);
  __Pyx_GIVEREF(__pyx_n_b_glGetTexParameteriv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetTexParameteriv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameteriv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameteriv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1326
 *     global real_glGetTexParameteriv, glGetTexParameteriv
 *     real_glGetTexParameteriv = <glGetTexParameteriv_type> find_gl_command([b'glGetTexParameteriv'])
 *     glGetTexParameteriv = real_glGetTexParameteriv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetUniformLocation, glGetUniformLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameteriv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetTexParameteriv;

  /* "renpy/gl2/uguugl.pyx":1329
 * 
 *     global real_glGetUniformLocation, glGetUniformLocation
 *     real_glGetUniformLocation = <glGetUniformLocation_type> find_gl_command([b'glGetUniformLocation', b'glGetUniformLocationARB'])             # <<<<<<<<<<<<<<
 *     glGetUniformLocation = real_glGetUniformLocation
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1329, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetUniformLocation);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformLocation);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetUniformLocation);
  __Pyx_INCREF(__pyx_n_b_glGetUniformLocationARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformLocationARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetUniformLocationARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformLocation = ((__pyx_t_5renpy_3gl2_6uguugl_glGetUniformLocation_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1330
 *     global real_glGetUniformLocation, glGetUniformLocation
 *     real_glGetUniformLocation = <glGetUniformLocation_type> find_gl_command([b'glGetUniformLocation', b'glGetUniformLocationARB'])
 *     glGetUniformLocation = real_glGetUniformLocation             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetUniformfv, glGetUniformfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformLocation = __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformLocation;

  /* "renpy/gl2/uguugl.pyx":1333
 * 
 *     global real_glGetUniformfv, glGetUniformfv
 *     real_glGetUniformfv = <glGetUniformfv_type> find_gl_command([b'glGetUniformfv', b'glGetUniformfvARB'])             # <<<<<<<<<<<<<<
 *     glGetUniformfv = real_glGetUniformfv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1333, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetUniformfv);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformfv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetUniformfv);
  __Pyx_INCREF(__pyx_n_b_glGetUniformfvARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformfvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetUniformfvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformfv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetUniformfv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1334
 *     global real_glGetUniformfv, glGetUniformfv
 *     real_glGetUniformfv = <glGetUniformfv_type> find_gl_command([b'glGetUniformfv', b'glGetUniformfvARB'])
 *     glGetUniformfv = real_glGetUniformfv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetUniformiv, glGetUniformiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformfv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformfv;

  /* "renpy/gl2/uguugl.pyx":1337
 * 
 *     global real_glGetUniformiv, glGetUniformiv
 *     real_glGetUniformiv = <glGetUniformiv_type> find_gl_command([b'glGetUniformiv', b'glGetUniformivARB'])             # <<<<<<<<<<<<<<
 *     glGetUniformiv = real_glGetUniformiv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1337, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetUniformiv);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformiv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetUniformiv);
  __Pyx_INCREF(__pyx_n_b_glGetUniformivARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetUniformivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetUniformivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformiv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetUniformiv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1338
 *     global real_glGetUniformiv, glGetUniformiv
 *     real_glGetUniformiv = <glGetUniformiv_type> find_gl_command([b'glGetUniformiv', b'glGetUniformivARB'])
 *     glGetUniformiv = real_glGetUniformiv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetVertexAttribPointerv, glGetVertexAttribPointerv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformiv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetUniformiv;

  /* "renpy/gl2/uguugl.pyx":1341
 * 
 *     global real_glGetVertexAttribPointerv, glGetVertexAttribPointerv
 *     real_glGetVertexAttribPointerv = <glGetVertexAttribPointerv_type> find_gl_command([b'glGetVertexAttribPointerv', b'glGetVertexAttribPointervARB', b'glGetVertexAttribPointervNV'])             # <<<<<<<<<<<<<<
 *     glGetVertexAttribPointerv = real_glGetVertexAttribPointerv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1341, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribPointerv);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribPointerv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetVertexAttribPointerv);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribPointervARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribPointervARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetVertexAttribPointervARB);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribPointervNV);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribPointervNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glGetVertexAttribPointervNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribPointerv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1342
 *     global real_glGetVertexAttribPointerv, glGetVertexAttribPointerv
 *     real_glGetVertexAttribPointerv = <glGetVertexAttribPointerv_type> find_gl_command([b'glGetVertexAttribPointerv', b'glGetVertexAttribPointervARB', b'glGetVertexAttribPointervNV'])
 *     glGetVertexAttribPointerv = real_glGetVertexAttribPointerv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetVertexAttribfv, glGetVertexAttribfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribPointerv;

  /* "renpy/gl2/uguugl.pyx":1345
 * 
 *     global real_glGetVertexAttribfv, glGetVertexAttribfv
 *     real_glGetVertexAttribfv = <glGetVertexAttribfv_type> find_gl_command([b'glGetVertexAttribfv', b'glGetVertexAttribfvARB', b'glGetVertexAttribfvNV'])             # <<<<<<<<<<<<<<
 *     glGetVertexAttribfv = real_glGetVertexAttribfv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1345, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribfv);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribfv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetVertexAttribfv);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribfvARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribfvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetVertexAttribfvARB);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribfvNV);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribfvNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glGetVertexAttribfvNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribfv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribfv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1346
 *     global real_glGetVertexAttribfv, glGetVertexAttribfv
 *     real_glGetVertexAttribfv = <glGetVertexAttribfv_type> find_gl_command([b'glGetVertexAttribfv', b'glGetVertexAttribfvARB', b'glGetVertexAttribfvNV'])
 *     glGetVertexAttribfv = real_glGetVertexAttribfv             # <<<<<<<<<<<<<<
 * 
 *     global real_glGetVertexAttribiv, glGetVertexAttribiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribfv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribfv;

  /* "renpy/gl2/uguugl.pyx":1349
 * 
 *     global real_glGetVertexAttribiv, glGetVertexAttribiv
 *     real_glGetVertexAttribiv = <glGetVertexAttribiv_type> find_gl_command([b'glGetVertexAttribiv', b'glGetVertexAttribivARB', b'glGetVertexAttribivNV'])             # <<<<<<<<<<<<<<
 *     glGetVertexAttribiv = real_glGetVertexAttribiv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1349, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribiv);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribiv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glGetVertexAttribiv);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribivARB);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glGetVertexAttribivARB);
  __Pyx_INCREF(__pyx_n_b_glGetVertexAttribivNV);
  __Pyx_GIVEREF(__pyx_n_b_glGetVertexAttribivNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glGetVertexAttribivNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribiv = ((__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribiv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1350
 *     global real_glGetVertexAttribiv, glGetVertexAttribiv
 *     real_glGetVertexAttribiv = <glGetVertexAttribiv_type> find_gl_command([b'glGetVertexAttribiv', b'glGetVertexAttribivARB', b'glGetVertexAttribivNV'])
 *     glGetVertexAttribiv = real_glGetVertexAttribiv             # <<<<<<<<<<<<<<
 * 
 *     global real_glHint, glHint
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribiv = __pyx_v_5renpy_3gl2_6uguugl_real_glGetVertexAttribiv;

  /* "renpy/gl2/uguugl.pyx":1353
 * 
 *     global real_glHint, glHint
 *     real_glHint = <glHint_type> find_gl_command([b'glHint'])             # <<<<<<<<<<<<<<
 *     glHint = real_glHint
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1353, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glHint);
  __Pyx_GIVEREF(__pyx_n_b_glHint);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glHint);
  __pyx_v_5renpy_3gl2_6uguugl_real_glHint = ((__pyx_t_5renpy_3gl2_6uguugl_glHint_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1354
 *     global real_glHint, glHint
 *     real_glHint = <glHint_type> find_gl_command([b'glHint'])
 *     glHint = real_glHint             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsBuffer, glIsBuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glHint = __pyx_v_5renpy_3gl2_6uguugl_real_glHint;

  /* "renpy/gl2/uguugl.pyx":1357
 * 
 *     global real_glIsBuffer, glIsBuffer
 *     real_glIsBuffer = <glIsBuffer_type> find_gl_command([b'glIsBuffer', b'glIsBufferARB'])             # <<<<<<<<<<<<<<
 *     glIsBuffer = real_glIsBuffer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1357, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsBuffer);
  __Pyx_GIVEREF(__pyx_n_b_glIsBuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsBuffer);
  __Pyx_INCREF(__pyx_n_b_glIsBufferARB);
  __Pyx_GIVEREF(__pyx_n_b_glIsBufferARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glIsBufferARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsBuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glIsBuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1358
 *     global real_glIsBuffer, glIsBuffer
 *     real_glIsBuffer = <glIsBuffer_type> find_gl_command([b'glIsBuffer', b'glIsBufferARB'])
 *     glIsBuffer = real_glIsBuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsEnabled, glIsEnabled
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsBuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glIsBuffer;

  /* "renpy/gl2/uguugl.pyx":1361
 * 
 *     global real_glIsEnabled, glIsEnabled
 *     real_glIsEnabled = <glIsEnabled_type> find_gl_command([b'glIsEnabled'])             # <<<<<<<<<<<<<<
 *     glIsEnabled = real_glIsEnabled
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1361, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsEnabled);
  __Pyx_GIVEREF(__pyx_n_b_glIsEnabled);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsEnabled);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsEnabled = ((__pyx_t_5renpy_3gl2_6uguugl_glIsEnabled_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1362
 *     global real_glIsEnabled, glIsEnabled
 *     real_glIsEnabled = <glIsEnabled_type> find_gl_command([b'glIsEnabled'])
 *     glIsEnabled = real_glIsEnabled             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsFramebuffer, glIsFramebuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsEnabled = __pyx_v_5renpy_3gl2_6uguugl_real_glIsEnabled;

  /* "renpy/gl2/uguugl.pyx":1365
 * 
 *     global real_glIsFramebuffer, glIsFramebuffer
 *     real_glIsFramebuffer = <glIsFramebuffer_type> find_gl_command([b'glIsFramebuffer', b'glIsFramebufferEXT'])             # <<<<<<<<<<<<<<
 *     glIsFramebuffer = real_glIsFramebuffer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1365, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsFramebuffer);
  __Pyx_GIVEREF(__pyx_n_b_glIsFramebuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsFramebuffer);
  __Pyx_INCREF(__pyx_n_b_glIsFramebufferEXT);
  __Pyx_GIVEREF(__pyx_n_b_glIsFramebufferEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glIsFramebufferEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsFramebuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glIsFramebuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1366
 *     global real_glIsFramebuffer, glIsFramebuffer
 *     real_glIsFramebuffer = <glIsFramebuffer_type> find_gl_command([b'glIsFramebuffer', b'glIsFramebufferEXT'])
 *     glIsFramebuffer = real_glIsFramebuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsProgram, glIsProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsFramebuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glIsFramebuffer;

  /* "renpy/gl2/uguugl.pyx":1369
 * 
 *     global real_glIsProgram, glIsProgram
 *     real_glIsProgram = <glIsProgram_type> find_gl_command([b'glIsProgram'])             # <<<<<<<<<<<<<<
 *     glIsProgram = real_glIsProgram
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1369, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsProgram);
  __Pyx_GIVEREF(__pyx_n_b_glIsProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsProgram);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glIsProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1370
 *     global real_glIsProgram, glIsProgram
 *     real_glIsProgram = <glIsProgram_type> find_gl_command([b'glIsProgram'])
 *     glIsProgram = real_glIsProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsRenderbuffer, glIsRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glIsProgram;

  /* "renpy/gl2/uguugl.pyx":1373
 * 
 *     global real_glIsRenderbuffer, glIsRenderbuffer
 *     real_glIsRenderbuffer = <glIsRenderbuffer_type> find_gl_command([b'glIsRenderbuffer', b'glIsRenderbufferEXT'])             # <<<<<<<<<<<<<<
 *     glIsRenderbuffer = real_glIsRenderbuffer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsRenderbuffer);
  __Pyx_GIVEREF(__pyx_n_b_glIsRenderbuffer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsRenderbuffer);
  __Pyx_INCREF(__pyx_n_b_glIsRenderbufferEXT);
  __Pyx_GIVEREF(__pyx_n_b_glIsRenderbufferEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glIsRenderbufferEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsRenderbuffer = ((__pyx_t_5renpy_3gl2_6uguugl_glIsRenderbuffer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1374
 *     global real_glIsRenderbuffer, glIsRenderbuffer
 *     real_glIsRenderbuffer = <glIsRenderbuffer_type> find_gl_command([b'glIsRenderbuffer', b'glIsRenderbufferEXT'])
 *     glIsRenderbuffer = real_glIsRenderbuffer             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsShader, glIsShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsRenderbuffer = __pyx_v_5renpy_3gl2_6uguugl_real_glIsRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1377
 * 
 *     global real_glIsShader, glIsShader
 *     real_glIsShader = <glIsShader_type> find_gl_command([b'glIsShader'])             # <<<<<<<<<<<<<<
 *     glIsShader = real_glIsShader
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsShader);
  __Pyx_GIVEREF(__pyx_n_b_glIsShader);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsShader);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsShader = ((__pyx_t_5renpy_3gl2_6uguugl_glIsShader_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1378
 *     global real_glIsShader, glIsShader
 *     real_glIsShader = <glIsShader_type> find_gl_command([b'glIsShader'])
 *     glIsShader = real_glIsShader             # <<<<<<<<<<<<<<
 * 
 *     global real_glIsTexture, glIsTexture
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsShader = __pyx_v_5renpy_3gl2_6uguugl_real_glIsShader;

  /* "renpy/gl2/uguugl.pyx":1381
 * 
 *     global real_glIsTexture, glIsTexture
 *     real_glIsTexture = <glIsTexture_type> find_gl_command([b'glIsTexture'])             # <<<<<<<<<<<<<<
 *     glIsTexture = real_glIsTexture
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glIsTexture);
  __Pyx_GIVEREF(__pyx_n_b_glIsTexture);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glIsTexture);
  __pyx_v_5renpy_3gl2_6uguugl_real_glIsTexture = ((__pyx_t_5renpy_3gl2_6uguugl_glIsTexture_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1382
 *     global real_glIsTexture, glIsTexture
 *     real_glIsTexture = <glIsTexture_type> find_gl_command([b'glIsTexture'])
 *     glIsTexture = real_glIsTexture             # <<<<<<<<<<<<<<
 * 
 *     global real_glLineWidth, glLineWidth
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsTexture = __pyx_v_5renpy_3gl2_6uguugl_real_glIsTexture;

  /* "renpy/gl2/uguugl.pyx":1385
 * 
 *     global real_glLineWidth, glLineWidth
 *     real_glLineWidth = <glLineWidth_type> find_gl_command([b'glLineWidth'])             # <<<<<<<<<<<<<<
 *     glLineWidth = real_glLineWidth
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1385, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glLineWidth);
  __Pyx_GIVEREF(__pyx_n_b_glLineWidth);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glLineWidth);
  __pyx_v_5renpy_3gl2_6uguugl_real_glLineWidth = ((__pyx_t_5renpy_3gl2_6uguugl_glLineWidth_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1386
 *     global real_glLineWidth, glLineWidth
 *     real_glLineWidth = <glLineWidth_type> find_gl_command([b'glLineWidth'])
 *     glLineWidth = real_glLineWidth             # <<<<<<<<<<<<<<
 * 
 *     global real_glLinkProgram, glLinkProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glLineWidth = __pyx_v_5renpy_3gl2_6uguugl_real_glLineWidth;

  /* "renpy/gl2/uguugl.pyx":1389
 * 
 *     global real_glLinkProgram, glLinkProgram
 *     real_glLinkProgram = <glLinkProgram_type> find_gl_command([b'glLinkProgram', b'glLinkProgramARB'])             # <<<<<<<<<<<<<<
 *     glLinkProgram = real_glLinkProgram
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1389, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glLinkProgram);
  __Pyx_GIVEREF(__pyx_n_b_glLinkProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glLinkProgram);
  __Pyx_INCREF(__pyx_n_b_glLinkProgramARB);
  __Pyx_GIVEREF(__pyx_n_b_glLinkProgramARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glLinkProgramARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glLinkProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glLinkProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1390
 *     global real_glLinkProgram, glLinkProgram
 *     real_glLinkProgram = <glLinkProgram_type> find_gl_command([b'glLinkProgram', b'glLinkProgramARB'])
 *     glLinkProgram = real_glLinkProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glPixelStorei, glPixelStorei
 */
  __pyx_v_5renpy_3gl2_6uguugl_glLinkProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glLinkProgram;

  /* "renpy/gl2/uguugl.pyx":1393
 * 
 *     global real_glPixelStorei, glPixelStorei
 *     real_glPixelStorei = <glPixelStorei_type> find_gl_command([b'glPixelStorei'])             # <<<<<<<<<<<<<<
 *     glPixelStorei = real_glPixelStorei
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1393, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glPixelStorei);
  __Pyx_GIVEREF(__pyx_n_b_glPixelStorei);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glPixelStorei);
  __pyx_v_5renpy_3gl2_6uguugl_real_glPixelStorei = ((__pyx_t_5renpy_3gl2_6uguugl_glPixelStorei_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1394
 *     global real_glPixelStorei, glPixelStorei
 *     real_glPixelStorei = <glPixelStorei_type> find_gl_command([b'glPixelStorei'])
 *     glPixelStorei = real_glPixelStorei             # <<<<<<<<<<<<<<
 * 
 *     global real_glPolygonOffset, glPolygonOffset
 */
  __pyx_v_5renpy_3gl2_6uguugl_glPixelStorei = __pyx_v_5renpy_3gl2_6uguugl_real_glPixelStorei;

  /* "renpy/gl2/uguugl.pyx":1397
 * 
 *     global real_glPolygonOffset, glPolygonOffset
 *     real_glPolygonOffset = <glPolygonOffset_type> find_gl_command([b'glPolygonOffset'])             # <<<<<<<<<<<<<<
 *     glPolygonOffset = real_glPolygonOffset
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1397, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glPolygonOffset);
  __Pyx_GIVEREF(__pyx_n_b_glPolygonOffset);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glPolygonOffset);
  __pyx_v_5renpy_3gl2_6uguugl_real_glPolygonOffset = ((__pyx_t_5renpy_3gl2_6uguugl_glPolygonOffset_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1398
 *     global real_glPolygonOffset, glPolygonOffset
 *     real_glPolygonOffset = <glPolygonOffset_type> find_gl_command([b'glPolygonOffset'])
 *     glPolygonOffset = real_glPolygonOffset             # <<<<<<<<<<<<<<
 * 
 *     global real_glReadPixels, glReadPixels
 */
  __pyx_v_5renpy_3gl2_6uguugl_glPolygonOffset = __pyx_v_5renpy_3gl2_6uguugl_real_glPolygonOffset;

  /* "renpy/gl2/uguugl.pyx":1401
 * 
 *     global real_glReadPixels, glReadPixels
 *     real_glReadPixels = <glReadPixels_type> find_gl_command([b'glReadPixels'])             # <<<<<<<<<<<<<<
 *     glReadPixels = real_glReadPixels
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1401, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glReadPixels);
  __Pyx_GIVEREF(__pyx_n_b_glReadPixels);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glReadPixels);
  __pyx_v_5renpy_3gl2_6uguugl_real_glReadPixels = ((__pyx_t_5renpy_3gl2_6uguugl_glReadPixels_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1402
 *     global real_glReadPixels, glReadPixels
 *     real_glReadPixels = <glReadPixels_type> find_gl_command([b'glReadPixels'])
 *     glReadPixels = real_glReadPixels             # <<<<<<<<<<<<<<
 * 
 *     global real_glRenderbufferStorage, glRenderbufferStorage
 */
  __pyx_v_5renpy_3gl2_6uguugl_glReadPixels = __pyx_v_5renpy_3gl2_6uguugl_real_glReadPixels;

  /* "renpy/gl2/uguugl.pyx":1405
 * 
 *     global real_glRenderbufferStorage, glRenderbufferStorage
 *     real_glRenderbufferStorage = <glRenderbufferStorage_type> find_gl_command([b'glRenderbufferStorage', b'glRenderbufferStorageEXT'])             # <<<<<<<<<<<<<<
 *     glRenderbufferStorage = real_glRenderbufferStorage
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1405, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glRenderbufferStorage);
  __Pyx_GIVEREF(__pyx_n_b_glRenderbufferStorage);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glRenderbufferStorage);
  __Pyx_INCREF(__pyx_n_b_glRenderbufferStorageEXT);
  __Pyx_GIVEREF(__pyx_n_b_glRenderbufferStorageEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glRenderbufferStorageEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glRenderbufferStorage = ((__pyx_t_5renpy_3gl2_6uguugl_glRenderbufferStorage_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1406
 *     global real_glRenderbufferStorage, glRenderbufferStorage
 *     real_glRenderbufferStorage = <glRenderbufferStorage_type> find_gl_command([b'glRenderbufferStorage', b'glRenderbufferStorageEXT'])
 *     glRenderbufferStorage = real_glRenderbufferStorage             # <<<<<<<<<<<<<<
 * 
 *     global real_glSampleCoverage, glSampleCoverage
 */
  __pyx_v_5renpy_3gl2_6uguugl_glRenderbufferStorage = __pyx_v_5renpy_3gl2_6uguugl_real_glRenderbufferStorage;

  /* "renpy/gl2/uguugl.pyx":1409
 * 
 *     global real_glSampleCoverage, glSampleCoverage
 *     real_glSampleCoverage = <glSampleCoverage_type> find_gl_command([b'glSampleCoverage', b'glSampleCoverageARB'])             # <<<<<<<<<<<<<<
 *     glSampleCoverage = real_glSampleCoverage
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1409, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glSampleCoverage);
  __Pyx_GIVEREF(__pyx_n_b_glSampleCoverage);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glSampleCoverage);
  __Pyx_INCREF(__pyx_n_b_glSampleCoverageARB);
  __Pyx_GIVEREF(__pyx_n_b_glSampleCoverageARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glSampleCoverageARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glSampleCoverage = ((__pyx_t_5renpy_3gl2_6uguugl_glSampleCoverage_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1410
 *     global real_glSampleCoverage, glSampleCoverage
 *     real_glSampleCoverage = <glSampleCoverage_type> find_gl_command([b'glSampleCoverage', b'glSampleCoverageARB'])
 *     glSampleCoverage = real_glSampleCoverage             # <<<<<<<<<<<<<<
 * 
 *     global real_glScissor, glScissor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glSampleCoverage = __pyx_v_5renpy_3gl2_6uguugl_real_glSampleCoverage;

  /* "renpy/gl2/uguugl.pyx":1413
 * 
 *     global real_glScissor, glScissor
 *     real_glScissor = <glScissor_type> find_gl_command([b'glScissor'])             # <<<<<<<<<<<<<<
 *     glScissor = real_glScissor
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1413, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glScissor);
  __Pyx_GIVEREF(__pyx_n_b_glScissor);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glScissor);
  __pyx_v_5renpy_3gl2_6uguugl_real_glScissor = ((__pyx_t_5renpy_3gl2_6uguugl_glScissor_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1414
 *     global real_glScissor, glScissor
 *     real_glScissor = <glScissor_type> find_gl_command([b'glScissor'])
 *     glScissor = real_glScissor             # <<<<<<<<<<<<<<
 * 
 *     global real_glShaderSource, glShaderSource
 */
  __pyx_v_5renpy_3gl2_6uguugl_glScissor = __pyx_v_5renpy_3gl2_6uguugl_real_glScissor;

  /* "renpy/gl2/uguugl.pyx":1417
 * 
 *     global real_glShaderSource, glShaderSource
 *     real_glShaderSource = <glShaderSource_type> find_gl_command([b'glShaderSource', b'glShaderSourceARB'])             # <<<<<<<<<<<<<<
 *     glShaderSource = real_glShaderSource
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1417, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glShaderSource);
  __Pyx_GIVEREF(__pyx_n_b_glShaderSource);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glShaderSource);
  __Pyx_INCREF(__pyx_n_b_glShaderSourceARB);
  __Pyx_GIVEREF(__pyx_n_b_glShaderSourceARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glShaderSourceARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glShaderSource = ((__pyx_t_5renpy_3gl2_6uguugl_glShaderSource_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1418
 *     global real_glShaderSource, glShaderSource
 *     real_glShaderSource = <glShaderSource_type> find_gl_command([b'glShaderSource', b'glShaderSourceARB'])
 *     glShaderSource = real_glShaderSource             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilFunc, glStencilFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glShaderSource = __pyx_v_5renpy_3gl2_6uguugl_real_glShaderSource;

  /* "renpy/gl2/uguugl.pyx":1421
 * 
 *     global real_glStencilFunc, glStencilFunc
 *     real_glStencilFunc = <glStencilFunc_type> find_gl_command([b'glStencilFunc'])             # <<<<<<<<<<<<<<
 *     glStencilFunc = real_glStencilFunc
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1421, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilFunc);
  __Pyx_GIVEREF(__pyx_n_b_glStencilFunc);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilFunc);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFunc = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilFunc_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1422
 *     global real_glStencilFunc, glStencilFunc
 *     real_glStencilFunc = <glStencilFunc_type> find_gl_command([b'glStencilFunc'])
 *     glStencilFunc = real_glStencilFunc             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilFuncSeparate, glStencilFuncSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilFunc = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFunc;

  /* "renpy/gl2/uguugl.pyx":1425
 * 
 *     global real_glStencilFuncSeparate, glStencilFuncSeparate
 *     real_glStencilFuncSeparate = <glStencilFuncSeparate_type> find_gl_command([b'glStencilFuncSeparate'])             # <<<<<<<<<<<<<<
 *     glStencilFuncSeparate = real_glStencilFuncSeparate
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1425, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilFuncSeparate);
  __Pyx_GIVEREF(__pyx_n_b_glStencilFuncSeparate);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilFuncSeparate);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFuncSeparate = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilFuncSeparate_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1426
 *     global real_glStencilFuncSeparate, glStencilFuncSeparate
 *     real_glStencilFuncSeparate = <glStencilFuncSeparate_type> find_gl_command([b'glStencilFuncSeparate'])
 *     glStencilFuncSeparate = real_glStencilFuncSeparate             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilMask, glStencilMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilFuncSeparate = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilFuncSeparate;

  /* "renpy/gl2/uguugl.pyx":1429
 * 
 *     global real_glStencilMask, glStencilMask
 *     real_glStencilMask = <glStencilMask_type> find_gl_command([b'glStencilMask'])             # <<<<<<<<<<<<<<
 *     glStencilMask = real_glStencilMask
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1429, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilMask);
  __Pyx_GIVEREF(__pyx_n_b_glStencilMask);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilMask);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMask = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilMask_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1430
 *     global real_glStencilMask, glStencilMask
 *     real_glStencilMask = <glStencilMask_type> find_gl_command([b'glStencilMask'])
 *     glStencilMask = real_glStencilMask             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilMaskSeparate, glStencilMaskSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilMask = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMask;

  /* "renpy/gl2/uguugl.pyx":1433
 * 
 *     global real_glStencilMaskSeparate, glStencilMaskSeparate
 *     real_glStencilMaskSeparate = <glStencilMaskSeparate_type> find_gl_command([b'glStencilMaskSeparate'])             # <<<<<<<<<<<<<<
 *     glStencilMaskSeparate = real_glStencilMaskSeparate
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1433, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilMaskSeparate);
  __Pyx_GIVEREF(__pyx_n_b_glStencilMaskSeparate);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilMaskSeparate);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMaskSeparate = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilMaskSeparate_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1434
 *     global real_glStencilMaskSeparate, glStencilMaskSeparate
 *     real_glStencilMaskSeparate = <glStencilMaskSeparate_type> find_gl_command([b'glStencilMaskSeparate'])
 *     glStencilMaskSeparate = real_glStencilMaskSeparate             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilOp, glStencilOp
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilMaskSeparate = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilMaskSeparate;

  /* "renpy/gl2/uguugl.pyx":1437
 * 
 *     global real_glStencilOp, glStencilOp
 *     real_glStencilOp = <glStencilOp_type> find_gl_command([b'glStencilOp'])             # <<<<<<<<<<<<<<
 *     glStencilOp = real_glStencilOp
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1437, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilOp);
  __Pyx_GIVEREF(__pyx_n_b_glStencilOp);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilOp);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOp = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilOp_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1438
 *     global real_glStencilOp, glStencilOp
 *     real_glStencilOp = <glStencilOp_type> find_gl_command([b'glStencilOp'])
 *     glStencilOp = real_glStencilOp             # <<<<<<<<<<<<<<
 * 
 *     global real_glStencilOpSeparate, glStencilOpSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilOp = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOp;

  /* "renpy/gl2/uguugl.pyx":1441
 * 
 *     global real_glStencilOpSeparate, glStencilOpSeparate
 *     real_glStencilOpSeparate = <glStencilOpSeparate_type> find_gl_command([b'glStencilOpSeparate', b'glStencilOpSeparateATI'])             # <<<<<<<<<<<<<<
 *     glStencilOpSeparate = real_glStencilOpSeparate
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1441, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glStencilOpSeparate);
  __Pyx_GIVEREF(__pyx_n_b_glStencilOpSeparate);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glStencilOpSeparate);
  __Pyx_INCREF(__pyx_n_b_glStencilOpSeparateATI);
  __Pyx_GIVEREF(__pyx_n_b_glStencilOpSeparateATI);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glStencilOpSeparateATI);
  __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOpSeparate = ((__pyx_t_5renpy_3gl2_6uguugl_glStencilOpSeparate_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1442
 *     global real_glStencilOpSeparate, glStencilOpSeparate
 *     real_glStencilOpSeparate = <glStencilOpSeparate_type> find_gl_command([b'glStencilOpSeparate', b'glStencilOpSeparateATI'])
 *     glStencilOpSeparate = real_glStencilOpSeparate             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexImage2D, glTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilOpSeparate = __pyx_v_5renpy_3gl2_6uguugl_real_glStencilOpSeparate;

  /* "renpy/gl2/uguugl.pyx":1445
 * 
 *     global real_glTexImage2D, glTexImage2D
 *     real_glTexImage2D = <glTexImage2D_type> find_gl_command([b'glTexImage2D'])             # <<<<<<<<<<<<<<
 *     glTexImage2D = real_glTexImage2D
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1445, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glTexImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexImage2D);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glTexImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1446
 *     global real_glTexImage2D, glTexImage2D
 *     real_glTexImage2D = <glTexImage2D_type> find_gl_command([b'glTexImage2D'])
 *     glTexImage2D = real_glTexImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexParameterf, glTexParameterf
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1449
 * 
 *     global real_glTexParameterf, glTexParameterf
 *     real_glTexParameterf = <glTexParameterf_type> find_gl_command([b'glTexParameterf'])             # <<<<<<<<<<<<<<
 *     glTexParameterf = real_glTexParameterf
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1449, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexParameterf);
  __Pyx_GIVEREF(__pyx_n_b_glTexParameterf);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexParameterf);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterf = ((__pyx_t_5renpy_3gl2_6uguugl_glTexParameterf_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1450
 *     global real_glTexParameterf, glTexParameterf
 *     real_glTexParameterf = <glTexParameterf_type> find_gl_command([b'glTexParameterf'])
 *     glTexParameterf = real_glTexParameterf             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexParameterfv, glTexParameterfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameterf = __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterf;

  /* "renpy/gl2/uguugl.pyx":1453
 * 
 *     global real_glTexParameterfv, glTexParameterfv
 *     real_glTexParameterfv = <glTexParameterfv_type> find_gl_command([b'glTexParameterfv'])             # <<<<<<<<<<<<<<
 *     glTexParameterfv = real_glTexParameterfv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1453, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexParameterfv);
  __Pyx_GIVEREF(__pyx_n_b_glTexParameterfv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexParameterfv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterfv = ((__pyx_t_5renpy_3gl2_6uguugl_glTexParameterfv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1454
 *     global real_glTexParameterfv, glTexParameterfv
 *     real_glTexParameterfv = <glTexParameterfv_type> find_gl_command([b'glTexParameterfv'])
 *     glTexParameterfv = real_glTexParameterfv             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexParameteri, glTexParameteri
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameterfv = __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameterfv;

  /* "renpy/gl2/uguugl.pyx":1457
 * 
 *     global real_glTexParameteri, glTexParameteri
 *     real_glTexParameteri = <glTexParameteri_type> find_gl_command([b'glTexParameteri'])             # <<<<<<<<<<<<<<
 *     glTexParameteri = real_glTexParameteri
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1457, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexParameteri);
  __Pyx_GIVEREF(__pyx_n_b_glTexParameteri);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexParameteri);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteri = ((__pyx_t_5renpy_3gl2_6uguugl_glTexParameteri_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1458
 *     global real_glTexParameteri, glTexParameteri
 *     real_glTexParameteri = <glTexParameteri_type> find_gl_command([b'glTexParameteri'])
 *     glTexParameteri = real_glTexParameteri             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexParameteriv, glTexParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameteri = __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteri;

  /* "renpy/gl2/uguugl.pyx":1461
 * 
 *     global real_glTexParameteriv, glTexParameteriv
 *     real_glTexParameteriv = <glTexParameteriv_type> find_gl_command([b'glTexParameteriv'])             # <<<<<<<<<<<<<<
 *     glTexParameteriv = real_glTexParameteriv
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1461, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexParameteriv);
  __Pyx_GIVEREF(__pyx_n_b_glTexParameteriv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexParameteriv);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteriv = ((__pyx_t_5renpy_3gl2_6uguugl_glTexParameteriv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1462
 *     global real_glTexParameteriv, glTexParameteriv
 *     real_glTexParameteriv = <glTexParameteriv_type> find_gl_command([b'glTexParameteriv'])
 *     glTexParameteriv = real_glTexParameteriv             # <<<<<<<<<<<<<<
 * 
 *     global real_glTexSubImage2D, glTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameteriv = __pyx_v_5renpy_3gl2_6uguugl_real_glTexParameteriv;

  /* "renpy/gl2/uguugl.pyx":1465
 * 
 *     global real_glTexSubImage2D, glTexSubImage2D
 *     real_glTexSubImage2D = <glTexSubImage2D_type> find_gl_command([b'glTexSubImage2D', b'glTexSubImage2DEXT'])             # <<<<<<<<<<<<<<
 *     glTexSubImage2D = real_glTexSubImage2D
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1465, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glTexSubImage2D);
  __Pyx_GIVEREF(__pyx_n_b_glTexSubImage2D);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glTexSubImage2D);
  __Pyx_INCREF(__pyx_n_b_glTexSubImage2DEXT);
  __Pyx_GIVEREF(__pyx_n_b_glTexSubImage2DEXT);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glTexSubImage2DEXT);
  __pyx_v_5renpy_3gl2_6uguugl_real_glTexSubImage2D = ((__pyx_t_5renpy_3gl2_6uguugl_glTexSubImage2D_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1466
 *     global real_glTexSubImage2D, glTexSubImage2D
 *     real_glTexSubImage2D = <glTexSubImage2D_type> find_gl_command([b'glTexSubImage2D', b'glTexSubImage2DEXT'])
 *     glTexSubImage2D = real_glTexSubImage2D             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform1f, glUniform1f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexSubImage2D = __pyx_v_5renpy_3gl2_6uguugl_real_glTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1469
 * 
 *     global real_glUniform1f, glUniform1f
 *     real_glUniform1f = <glUniform1f_type> find_gl_command([b'glUniform1f', b'glUniform1fARB'])             # <<<<<<<<<<<<<<
 *     glUniform1f = real_glUniform1f
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1469, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform1f);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform1f);
  __Pyx_INCREF(__pyx_n_b_glUniform1fARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform1fARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1f = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform1f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1470
 *     global real_glUniform1f, glUniform1f
 *     real_glUniform1f = <glUniform1f_type> find_gl_command([b'glUniform1f', b'glUniform1fARB'])
 *     glUniform1f = real_glUniform1f             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform1fv, glUniform1fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1f = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1f;

  /* "renpy/gl2/uguugl.pyx":1473
 * 
 *     global real_glUniform1fv, glUniform1fv
 *     real_glUniform1fv = <glUniform1fv_type> find_gl_command([b'glUniform1fv', b'glUniform1fvARB'])             # <<<<<<<<<<<<<<
 *     glUniform1fv = real_glUniform1fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1473, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform1fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform1fv);
  __Pyx_INCREF(__pyx_n_b_glUniform1fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform1fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform1fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1474
 *     global real_glUniform1fv, glUniform1fv
 *     real_glUniform1fv = <glUniform1fv_type> find_gl_command([b'glUniform1fv', b'glUniform1fvARB'])
 *     glUniform1fv = real_glUniform1fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform1i, glUniform1i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1fv;

  /* "renpy/gl2/uguugl.pyx":1477
 * 
 *     global real_glUniform1i, glUniform1i
 *     real_glUniform1i = <glUniform1i_type> find_gl_command([b'glUniform1i', b'glUniform1iARB'])             # <<<<<<<<<<<<<<
 *     glUniform1i = real_glUniform1i
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1477, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform1i);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1i);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform1i);
  __Pyx_INCREF(__pyx_n_b_glUniform1iARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1iARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform1iARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1i = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform1i_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1478
 *     global real_glUniform1i, glUniform1i
 *     real_glUniform1i = <glUniform1i_type> find_gl_command([b'glUniform1i', b'glUniform1iARB'])
 *     glUniform1i = real_glUniform1i             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform1iv, glUniform1iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1i = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1i;

  /* "renpy/gl2/uguugl.pyx":1481
 * 
 *     global real_glUniform1iv, glUniform1iv
 *     real_glUniform1iv = <glUniform1iv_type> find_gl_command([b'glUniform1iv', b'glUniform1ivARB'])             # <<<<<<<<<<<<<<
 *     glUniform1iv = real_glUniform1iv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform1iv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1iv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform1iv);
  __Pyx_INCREF(__pyx_n_b_glUniform1ivARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform1ivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform1ivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1iv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform1iv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1482
 *     global real_glUniform1iv, glUniform1iv
 *     real_glUniform1iv = <glUniform1iv_type> find_gl_command([b'glUniform1iv', b'glUniform1ivARB'])
 *     glUniform1iv = real_glUniform1iv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform2f, glUniform2f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1iv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform1iv;

  /* "renpy/gl2/uguugl.pyx":1485
 * 
 *     global real_glUniform2f, glUniform2f
 *     real_glUniform2f = <glUniform2f_type> find_gl_command([b'glUniform2f', b'glUniform2fARB'])             # <<<<<<<<<<<<<<
 *     glUniform2f = real_glUniform2f
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1485, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform2f);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform2f);
  __Pyx_INCREF(__pyx_n_b_glUniform2fARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform2fARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2f = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform2f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1486
 *     global real_glUniform2f, glUniform2f
 *     real_glUniform2f = <glUniform2f_type> find_gl_command([b'glUniform2f', b'glUniform2fARB'])
 *     glUniform2f = real_glUniform2f             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform2fv, glUniform2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2f = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2f;

  /* "renpy/gl2/uguugl.pyx":1489
 * 
 *     global real_glUniform2fv, glUniform2fv
 *     real_glUniform2fv = <glUniform2fv_type> find_gl_command([b'glUniform2fv', b'glUniform2fvARB'])             # <<<<<<<<<<<<<<
 *     glUniform2fv = real_glUniform2fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1489, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform2fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform2fv);
  __Pyx_INCREF(__pyx_n_b_glUniform2fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform2fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform2fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1490
 *     global real_glUniform2fv, glUniform2fv
 *     real_glUniform2fv = <glUniform2fv_type> find_gl_command([b'glUniform2fv', b'glUniform2fvARB'])
 *     glUniform2fv = real_glUniform2fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform2i, glUniform2i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2fv;

  /* "renpy/gl2/uguugl.pyx":1493
 * 
 *     global real_glUniform2i, glUniform2i
 *     real_glUniform2i = <glUniform2i_type> find_gl_command([b'glUniform2i', b'glUniform2iARB'])             # <<<<<<<<<<<<<<
 *     glUniform2i = real_glUniform2i
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1493, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform2i);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2i);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform2i);
  __Pyx_INCREF(__pyx_n_b_glUniform2iARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2iARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform2iARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2i = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform2i_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1494
 *     global real_glUniform2i, glUniform2i
 *     real_glUniform2i = <glUniform2i_type> find_gl_command([b'glUniform2i', b'glUniform2iARB'])
 *     glUniform2i = real_glUniform2i             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform2iv, glUniform2iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2i = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2i;

  /* "renpy/gl2/uguugl.pyx":1497
 * 
 *     global real_glUniform2iv, glUniform2iv
 *     real_glUniform2iv = <glUniform2iv_type> find_gl_command([b'glUniform2iv', b'glUniform2ivARB'])             # <<<<<<<<<<<<<<
 *     glUniform2iv = real_glUniform2iv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1497, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform2iv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2iv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform2iv);
  __Pyx_INCREF(__pyx_n_b_glUniform2ivARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform2ivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform2ivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2iv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform2iv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1498
 *     global real_glUniform2iv, glUniform2iv
 *     real_glUniform2iv = <glUniform2iv_type> find_gl_command([b'glUniform2iv', b'glUniform2ivARB'])
 *     glUniform2iv = real_glUniform2iv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform3f, glUniform3f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2iv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform2iv;

  /* "renpy/gl2/uguugl.pyx":1501
 * 
 *     global real_glUniform3f, glUniform3f
 *     real_glUniform3f = <glUniform3f_type> find_gl_command([b'glUniform3f', b'glUniform3fARB'])             # <<<<<<<<<<<<<<
 *     glUniform3f = real_glUniform3f
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1501, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform3f);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform3f);
  __Pyx_INCREF(__pyx_n_b_glUniform3fARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform3fARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3f = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform3f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1502
 *     global real_glUniform3f, glUniform3f
 *     real_glUniform3f = <glUniform3f_type> find_gl_command([b'glUniform3f', b'glUniform3fARB'])
 *     glUniform3f = real_glUniform3f             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform3fv, glUniform3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3f = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3f;

  /* "renpy/gl2/uguugl.pyx":1505
 * 
 *     global real_glUniform3fv, glUniform3fv
 *     real_glUniform3fv = <glUniform3fv_type> find_gl_command([b'glUniform3fv', b'glUniform3fvARB'])             # <<<<<<<<<<<<<<
 *     glUniform3fv = real_glUniform3fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1505, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform3fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform3fv);
  __Pyx_INCREF(__pyx_n_b_glUniform3fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform3fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform3fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1506
 *     global real_glUniform3fv, glUniform3fv
 *     real_glUniform3fv = <glUniform3fv_type> find_gl_command([b'glUniform3fv', b'glUniform3fvARB'])
 *     glUniform3fv = real_glUniform3fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform3i, glUniform3i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3fv;

  /* "renpy/gl2/uguugl.pyx":1509
 * 
 *     global real_glUniform3i, glUniform3i
 *     real_glUniform3i = <glUniform3i_type> find_gl_command([b'glUniform3i', b'glUniform3iARB'])             # <<<<<<<<<<<<<<
 *     glUniform3i = real_glUniform3i
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1509, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform3i);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3i);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform3i);
  __Pyx_INCREF(__pyx_n_b_glUniform3iARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3iARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform3iARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3i = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform3i_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1510
 *     global real_glUniform3i, glUniform3i
 *     real_glUniform3i = <glUniform3i_type> find_gl_command([b'glUniform3i', b'glUniform3iARB'])
 *     glUniform3i = real_glUniform3i             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform3iv, glUniform3iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3i = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3i;

  /* "renpy/gl2/uguugl.pyx":1513
 * 
 *     global real_glUniform3iv, glUniform3iv
 *     real_glUniform3iv = <glUniform3iv_type> find_gl_command([b'glUniform3iv', b'glUniform3ivARB'])             # <<<<<<<<<<<<<<
 *     glUniform3iv = real_glUniform3iv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1513, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform3iv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3iv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform3iv);
  __Pyx_INCREF(__pyx_n_b_glUniform3ivARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform3ivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform3ivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3iv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform3iv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1514
 *     global real_glUniform3iv, glUniform3iv
 *     real_glUniform3iv = <glUniform3iv_type> find_gl_command([b'glUniform3iv', b'glUniform3ivARB'])
 *     glUniform3iv = real_glUniform3iv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform4f, glUniform4f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3iv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform3iv;

  /* "renpy/gl2/uguugl.pyx":1517
 * 
 *     global real_glUniform4f, glUniform4f
 *     real_glUniform4f = <glUniform4f_type> find_gl_command([b'glUniform4f', b'glUniform4fARB'])             # <<<<<<<<<<<<<<
 *     glUniform4f = real_glUniform4f
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1517, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform4f);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform4f);
  __Pyx_INCREF(__pyx_n_b_glUniform4fARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform4fARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4f = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform4f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1518
 *     global real_glUniform4f, glUniform4f
 *     real_glUniform4f = <glUniform4f_type> find_gl_command([b'glUniform4f', b'glUniform4fARB'])
 *     glUniform4f = real_glUniform4f             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform4fv, glUniform4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4f = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4f;

  /* "renpy/gl2/uguugl.pyx":1521
 * 
 *     global real_glUniform4fv, glUniform4fv
 *     real_glUniform4fv = <glUniform4fv_type> find_gl_command([b'glUniform4fv', b'glUniform4fvARB'])             # <<<<<<<<<<<<<<
 *     glUniform4fv = real_glUniform4fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1521, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform4fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform4fv);
  __Pyx_INCREF(__pyx_n_b_glUniform4fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform4fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform4fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1522
 *     global real_glUniform4fv, glUniform4fv
 *     real_glUniform4fv = <glUniform4fv_type> find_gl_command([b'glUniform4fv', b'glUniform4fvARB'])
 *     glUniform4fv = real_glUniform4fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform4i, glUniform4i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4fv;

  /* "renpy/gl2/uguugl.pyx":1525
 * 
 *     global real_glUniform4i, glUniform4i
 *     real_glUniform4i = <glUniform4i_type> find_gl_command([b'glUniform4i', b'glUniform4iARB'])             # <<<<<<<<<<<<<<
 *     glUniform4i = real_glUniform4i
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1525, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform4i);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4i);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform4i);
  __Pyx_INCREF(__pyx_n_b_glUniform4iARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4iARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform4iARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4i = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform4i_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1526
 *     global real_glUniform4i, glUniform4i
 *     real_glUniform4i = <glUniform4i_type> find_gl_command([b'glUniform4i', b'glUniform4iARB'])
 *     glUniform4i = real_glUniform4i             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniform4iv, glUniform4iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4i = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4i;

  /* "renpy/gl2/uguugl.pyx":1529
 * 
 *     global real_glUniform4iv, glUniform4iv
 *     real_glUniform4iv = <glUniform4iv_type> find_gl_command([b'glUniform4iv', b'glUniform4ivARB'])             # <<<<<<<<<<<<<<
 *     glUniform4iv = real_glUniform4iv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1529, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniform4iv);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4iv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniform4iv);
  __Pyx_INCREF(__pyx_n_b_glUniform4ivARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniform4ivARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniform4ivARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4iv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniform4iv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1530
 *     global real_glUniform4iv, glUniform4iv
 *     real_glUniform4iv = <glUniform4iv_type> find_gl_command([b'glUniform4iv', b'glUniform4ivARB'])
 *     glUniform4iv = real_glUniform4iv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniformMatrix2fv, glUniformMatrix2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4iv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniform4iv;

  /* "renpy/gl2/uguugl.pyx":1533
 * 
 *     global real_glUniformMatrix2fv, glUniformMatrix2fv
 *     real_glUniformMatrix2fv = <glUniformMatrix2fv_type> find_gl_command([b'glUniformMatrix2fv', b'glUniformMatrix2fvARB'])             # <<<<<<<<<<<<<<
 *     glUniformMatrix2fv = real_glUniformMatrix2fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1533, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix2fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix2fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniformMatrix2fv);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix2fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix2fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniformMatrix2fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix2fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix2fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1534
 *     global real_glUniformMatrix2fv, glUniformMatrix2fv
 *     real_glUniformMatrix2fv = <glUniformMatrix2fv_type> find_gl_command([b'glUniformMatrix2fv', b'glUniformMatrix2fvARB'])
 *     glUniformMatrix2fv = real_glUniformMatrix2fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniformMatrix3fv, glUniformMatrix3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix2fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix2fv;

  /* "renpy/gl2/uguugl.pyx":1537
 * 
 *     global real_glUniformMatrix3fv, glUniformMatrix3fv
 *     real_glUniformMatrix3fv = <glUniformMatrix3fv_type> find_gl_command([b'glUniformMatrix3fv', b'glUniformMatrix3fvARB'])             # <<<<<<<<<<<<<<
 *     glUniformMatrix3fv = real_glUniformMatrix3fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1537, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix3fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix3fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniformMatrix3fv);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix3fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix3fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniformMatrix3fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix3fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix3fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1538
 *     global real_glUniformMatrix3fv, glUniformMatrix3fv
 *     real_glUniformMatrix3fv = <glUniformMatrix3fv_type> find_gl_command([b'glUniformMatrix3fv', b'glUniformMatrix3fvARB'])
 *     glUniformMatrix3fv = real_glUniformMatrix3fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUniformMatrix4fv, glUniformMatrix4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix3fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix3fv;

  /* "renpy/gl2/uguugl.pyx":1541
 * 
 *     global real_glUniformMatrix4fv, glUniformMatrix4fv
 *     real_glUniformMatrix4fv = <glUniformMatrix4fv_type> find_gl_command([b'glUniformMatrix4fv', b'glUniformMatrix4fvARB'])             # <<<<<<<<<<<<<<
 *     glUniformMatrix4fv = real_glUniformMatrix4fv
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix4fv);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix4fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUniformMatrix4fv);
  __Pyx_INCREF(__pyx_n_b_glUniformMatrix4fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glUniformMatrix4fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUniformMatrix4fvARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix4fv = ((__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix4fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1542
 *     global real_glUniformMatrix4fv, glUniformMatrix4fv
 *     real_glUniformMatrix4fv = <glUniformMatrix4fv_type> find_gl_command([b'glUniformMatrix4fv', b'glUniformMatrix4fvARB'])
 *     glUniformMatrix4fv = real_glUniformMatrix4fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glUseProgram, glUseProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix4fv = __pyx_v_5renpy_3gl2_6uguugl_real_glUniformMatrix4fv;

  /* "renpy/gl2/uguugl.pyx":1545
 * 
 *     global real_glUseProgram, glUseProgram
 *     real_glUseProgram = <glUseProgram_type> find_gl_command([b'glUseProgram', b'glUseProgramObjectARB'])             # <<<<<<<<<<<<<<
 *     glUseProgram = real_glUseProgram
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1545, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glUseProgram);
  __Pyx_GIVEREF(__pyx_n_b_glUseProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glUseProgram);
  __Pyx_INCREF(__pyx_n_b_glUseProgramObjectARB);
  __Pyx_GIVEREF(__pyx_n_b_glUseProgramObjectARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glUseProgramObjectARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glUseProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glUseProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1546
 *     global real_glUseProgram, glUseProgram
 *     real_glUseProgram = <glUseProgram_type> find_gl_command([b'glUseProgram', b'glUseProgramObjectARB'])
 *     glUseProgram = real_glUseProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glValidateProgram, glValidateProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUseProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glUseProgram;

  /* "renpy/gl2/uguugl.pyx":1549
 * 
 *     global real_glValidateProgram, glValidateProgram
 *     real_glValidateProgram = <glValidateProgram_type> find_gl_command([b'glValidateProgram', b'glValidateProgramARB'])             # <<<<<<<<<<<<<<
 *     glValidateProgram = real_glValidateProgram
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1549, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glValidateProgram);
  __Pyx_GIVEREF(__pyx_n_b_glValidateProgram);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glValidateProgram);
  __Pyx_INCREF(__pyx_n_b_glValidateProgramARB);
  __Pyx_GIVEREF(__pyx_n_b_glValidateProgramARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glValidateProgramARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glValidateProgram = ((__pyx_t_5renpy_3gl2_6uguugl_glValidateProgram_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1550
 *     global real_glValidateProgram, glValidateProgram
 *     real_glValidateProgram = <glValidateProgram_type> find_gl_command([b'glValidateProgram', b'glValidateProgramARB'])
 *     glValidateProgram = real_glValidateProgram             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib1f, glVertexAttrib1f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glValidateProgram = __pyx_v_5renpy_3gl2_6uguugl_real_glValidateProgram;

  /* "renpy/gl2/uguugl.pyx":1553
 * 
 *     global real_glVertexAttrib1f, glVertexAttrib1f
 *     real_glVertexAttrib1f = <glVertexAttrib1f_type> find_gl_command([b'glVertexAttrib1f', b'glVertexAttrib1fARB', b'glVertexAttrib1fNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib1f = real_glVertexAttrib1f
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1553, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1f);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib1f);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1fARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib1fARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1fNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1fNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib1fNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1f = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1554
 *     global real_glVertexAttrib1f, glVertexAttrib1f
 *     real_glVertexAttrib1f = <glVertexAttrib1f_type> find_gl_command([b'glVertexAttrib1f', b'glVertexAttrib1fARB', b'glVertexAttrib1fNV'])
 *     glVertexAttrib1f = real_glVertexAttrib1f             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib1fv, glVertexAttrib1fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1f = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1f;

  /* "renpy/gl2/uguugl.pyx":1557
 * 
 *     global real_glVertexAttrib1fv, glVertexAttrib1fv
 *     real_glVertexAttrib1fv = <glVertexAttrib1fv_type> find_gl_command([b'glVertexAttrib1fv', b'glVertexAttrib1fvARB', b'glVertexAttrib1fvNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib1fv = real_glVertexAttrib1fv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1557, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1fv);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib1fv);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib1fvARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib1fvNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib1fvNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib1fvNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1fv = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1558
 *     global real_glVertexAttrib1fv, glVertexAttrib1fv
 *     real_glVertexAttrib1fv = <glVertexAttrib1fv_type> find_gl_command([b'glVertexAttrib1fv', b'glVertexAttrib1fvARB', b'glVertexAttrib1fvNV'])
 *     glVertexAttrib1fv = real_glVertexAttrib1fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib2f, glVertexAttrib2f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1fv = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib1fv;

  /* "renpy/gl2/uguugl.pyx":1561
 * 
 *     global real_glVertexAttrib2f, glVertexAttrib2f
 *     real_glVertexAttrib2f = <glVertexAttrib2f_type> find_gl_command([b'glVertexAttrib2f', b'glVertexAttrib2fARB', b'glVertexAttrib2fNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib2f = real_glVertexAttrib2f
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2f);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib2f);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2fARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib2fARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2fNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2fNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib2fNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2f = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1562
 *     global real_glVertexAttrib2f, glVertexAttrib2f
 *     real_glVertexAttrib2f = <glVertexAttrib2f_type> find_gl_command([b'glVertexAttrib2f', b'glVertexAttrib2fARB', b'glVertexAttrib2fNV'])
 *     glVertexAttrib2f = real_glVertexAttrib2f             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib2fv, glVertexAttrib2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2f = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2f;

  /* "renpy/gl2/uguugl.pyx":1565
 * 
 *     global real_glVertexAttrib2fv, glVertexAttrib2fv
 *     real_glVertexAttrib2fv = <glVertexAttrib2fv_type> find_gl_command([b'glVertexAttrib2fv', b'glVertexAttrib2fvARB', b'glVertexAttrib2fvNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib2fv = real_glVertexAttrib2fv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1565, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2fv);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib2fv);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib2fvARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib2fvNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib2fvNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib2fvNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2fv = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1566
 *     global real_glVertexAttrib2fv, glVertexAttrib2fv
 *     real_glVertexAttrib2fv = <glVertexAttrib2fv_type> find_gl_command([b'glVertexAttrib2fv', b'glVertexAttrib2fvARB', b'glVertexAttrib2fvNV'])
 *     glVertexAttrib2fv = real_glVertexAttrib2fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib3f, glVertexAttrib3f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2fv = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib2fv;

  /* "renpy/gl2/uguugl.pyx":1569
 * 
 *     global real_glVertexAttrib3f, glVertexAttrib3f
 *     real_glVertexAttrib3f = <glVertexAttrib3f_type> find_gl_command([b'glVertexAttrib3f', b'glVertexAttrib3fARB', b'glVertexAttrib3fNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib3f = real_glVertexAttrib3f
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3f);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib3f);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3fARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib3fARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3fNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3fNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib3fNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3f = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1570
 *     global real_glVertexAttrib3f, glVertexAttrib3f
 *     real_glVertexAttrib3f = <glVertexAttrib3f_type> find_gl_command([b'glVertexAttrib3f', b'glVertexAttrib3fARB', b'glVertexAttrib3fNV'])
 *     glVertexAttrib3f = real_glVertexAttrib3f             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib3fv, glVertexAttrib3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3f = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3f;

  /* "renpy/gl2/uguugl.pyx":1573
 * 
 *     global real_glVertexAttrib3fv, glVertexAttrib3fv
 *     real_glVertexAttrib3fv = <glVertexAttrib3fv_type> find_gl_command([b'glVertexAttrib3fv', b'glVertexAttrib3fvARB', b'glVertexAttrib3fvNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib3fv = real_glVertexAttrib3fv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1573, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3fv);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib3fv);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib3fvARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib3fvNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib3fvNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib3fvNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3fv = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1574
 *     global real_glVertexAttrib3fv, glVertexAttrib3fv
 *     real_glVertexAttrib3fv = <glVertexAttrib3fv_type> find_gl_command([b'glVertexAttrib3fv', b'glVertexAttrib3fvARB', b'glVertexAttrib3fvNV'])
 *     glVertexAttrib3fv = real_glVertexAttrib3fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib4f, glVertexAttrib4f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3fv = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib3fv;

  /* "renpy/gl2/uguugl.pyx":1577
 * 
 *     global real_glVertexAttrib4f, glVertexAttrib4f
 *     real_glVertexAttrib4f = <glVertexAttrib4f_type> find_gl_command([b'glVertexAttrib4f', b'glVertexAttrib4fARB', b'glVertexAttrib4fNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib4f = real_glVertexAttrib4f
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1577, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4f);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4f);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib4f);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4fARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4fARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib4fARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4fNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4fNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib4fNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4f = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4f_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1578
 *     global real_glVertexAttrib4f, glVertexAttrib4f
 *     real_glVertexAttrib4f = <glVertexAttrib4f_type> find_gl_command([b'glVertexAttrib4f', b'glVertexAttrib4fARB', b'glVertexAttrib4fNV'])
 *     glVertexAttrib4f = real_glVertexAttrib4f             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttrib4fv, glVertexAttrib4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4f = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4f;

  /* "renpy/gl2/uguugl.pyx":1581
 * 
 *     global real_glVertexAttrib4fv, glVertexAttrib4fv
 *     real_glVertexAttrib4fv = <glVertexAttrib4fv_type> find_gl_command([b'glVertexAttrib4fv', b'glVertexAttrib4fvARB', b'glVertexAttrib4fvNV'])             # <<<<<<<<<<<<<<
 *     glVertexAttrib4fv = real_glVertexAttrib4fv
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4fv);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4fv);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttrib4fv);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4fvARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4fvARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttrib4fvARB);
  __Pyx_INCREF(__pyx_n_b_glVertexAttrib4fvNV);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttrib4fvNV);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_b_glVertexAttrib4fvNV);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4fv = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4fv_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1582
 *     global real_glVertexAttrib4fv, glVertexAttrib4fv
 *     real_glVertexAttrib4fv = <glVertexAttrib4fv_type> find_gl_command([b'glVertexAttrib4fv', b'glVertexAttrib4fvARB', b'glVertexAttrib4fvNV'])
 *     glVertexAttrib4fv = real_glVertexAttrib4fv             # <<<<<<<<<<<<<<
 * 
 *     global real_glVertexAttribPointer, glVertexAttribPointer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4fv = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttrib4fv;

  /* "renpy/gl2/uguugl.pyx":1585
 * 
 *     global real_glVertexAttribPointer, glVertexAttribPointer
 *     real_glVertexAttribPointer = <glVertexAttribPointer_type> find_gl_command([b'glVertexAttribPointer', b'glVertexAttribPointerARB'])             # <<<<<<<<<<<<<<
 *     glVertexAttribPointer = real_glVertexAttribPointer
 * 
 */
  __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1585, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glVertexAttribPointer);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttribPointer);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glVertexAttribPointer);
  __Pyx_INCREF(__pyx_n_b_glVertexAttribPointerARB);
  __Pyx_GIVEREF(__pyx_n_b_glVertexAttribPointerARB);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_b_glVertexAttribPointerARB);
  __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttribPointer = ((__pyx_t_5renpy_3gl2_6uguugl_glVertexAttribPointer_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1586
 *     global real_glVertexAttribPointer, glVertexAttribPointer
 *     real_glVertexAttribPointer = <glVertexAttribPointer_type> find_gl_command([b'glVertexAttribPointer', b'glVertexAttribPointerARB'])
 *     glVertexAttribPointer = real_glVertexAttribPointer             # <<<<<<<<<<<<<<
 * 
 *     global real_glViewport, glViewport
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttribPointer = __pyx_v_5renpy_3gl2_6uguugl_real_glVertexAttribPointer;

  /* "renpy/gl2/uguugl.pyx":1589
 * 
 *     global real_glViewport, glViewport
 *     real_glViewport = <glViewport_type> find_gl_command([b'glViewport'])             # <<<<<<<<<<<<<<
 *     glViewport = real_glViewport
 * 
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1589, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_b_glViewport);
  __Pyx_GIVEREF(__pyx_n_b_glViewport);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_b_glViewport);
  __pyx_v_5renpy_3gl2_6uguugl_real_glViewport = ((__pyx_t_5renpy_3gl2_6uguugl_glViewport_type)__pyx_f_5renpy_3gl2_6uguugl_find_gl_command(__pyx_t_1));
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1590
 *     global real_glViewport, glViewport
 *     real_glViewport = <glViewport_type> find_gl_command([b'glViewport'])
 *     glViewport = real_glViewport             # <<<<<<<<<<<<<<
 * 
 * def enable_check_error():
 */
  __pyx_v_5renpy_3gl2_6uguugl_glViewport = __pyx_v_5renpy_3gl2_6uguugl_real_glViewport;

  /* "renpy/gl2/uguugl.pyx":1042
 *     check_error("glViewport")
 * 
 * def load():             # <<<<<<<<<<<<<<
 * 
 *     global real_glActiveTexture, glActiveTexture
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("renpy.gl2.uguugl.load", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "renpy/gl2/uguugl.pyx":1592
 *     glViewport = real_glViewport
 * 
 * def enable_check_error():             # <<<<<<<<<<<<<<
 *     global glActiveTexture
 *     glActiveTexture = check_glActiveTexture
 */

/* Python wrapper */
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_7enable_check_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_5renpy_3gl2_6uguugl_7enable_check_error = {"enable_check_error", (PyCFunction)__pyx_pw_5renpy_3gl2_6uguugl_7enable_check_error, METH_NOARGS, 0};
static PyObject *__pyx_pw_5renpy_3gl2_6uguugl_7enable_check_error(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("enable_check_error (wrapper)", 0);
  __pyx_r = __pyx_pf_5renpy_3gl2_6uguugl_6enable_check_error(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_5renpy_3gl2_6uguugl_6enable_check_error(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("enable_check_error", 0);

  /* "renpy/gl2/uguugl.pyx":1594
 * def enable_check_error():
 *     global glActiveTexture
 *     glActiveTexture = check_glActiveTexture             # <<<<<<<<<<<<<<
 *     global glAttachShader
 *     glAttachShader = check_glAttachShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glActiveTexture = __pyx_f_5renpy_3gl2_6uguugl_check_glActiveTexture;

  /* "renpy/gl2/uguugl.pyx":1596
 *     glActiveTexture = check_glActiveTexture
 *     global glAttachShader
 *     glAttachShader = check_glAttachShader             # <<<<<<<<<<<<<<
 *     global glBindAttribLocation
 *     glBindAttribLocation = check_glBindAttribLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glAttachShader = __pyx_f_5renpy_3gl2_6uguugl_check_glAttachShader;

  /* "renpy/gl2/uguugl.pyx":1598
 *     glAttachShader = check_glAttachShader
 *     global glBindAttribLocation
 *     glBindAttribLocation = check_glBindAttribLocation             # <<<<<<<<<<<<<<
 *     global glBindBuffer
 *     glBindBuffer = check_glBindBuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindAttribLocation = __pyx_f_5renpy_3gl2_6uguugl_check_glBindAttribLocation;

  /* "renpy/gl2/uguugl.pyx":1600
 *     glBindAttribLocation = check_glBindAttribLocation
 *     global glBindBuffer
 *     glBindBuffer = check_glBindBuffer             # <<<<<<<<<<<<<<
 *     global glBindFramebuffer
 *     glBindFramebuffer = check_glBindFramebuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindBuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glBindBuffer;

  /* "renpy/gl2/uguugl.pyx":1602
 *     glBindBuffer = check_glBindBuffer
 *     global glBindFramebuffer
 *     glBindFramebuffer = check_glBindFramebuffer             # <<<<<<<<<<<<<<
 *     global glBindRenderbuffer
 *     glBindRenderbuffer = check_glBindRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindFramebuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glBindFramebuffer;

  /* "renpy/gl2/uguugl.pyx":1604
 *     glBindFramebuffer = check_glBindFramebuffer
 *     global glBindRenderbuffer
 *     glBindRenderbuffer = check_glBindRenderbuffer             # <<<<<<<<<<<<<<
 *     global glBindTexture
 *     glBindTexture = check_glBindTexture
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindRenderbuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glBindRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1606
 *     glBindRenderbuffer = check_glBindRenderbuffer
 *     global glBindTexture
 *     glBindTexture = check_glBindTexture             # <<<<<<<<<<<<<<
 *     global glBlendColor
 *     glBlendColor = check_glBlendColor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBindTexture = __pyx_f_5renpy_3gl2_6uguugl_check_glBindTexture;

  /* "renpy/gl2/uguugl.pyx":1608
 *     glBindTexture = check_glBindTexture
 *     global glBlendColor
 *     glBlendColor = check_glBlendColor             # <<<<<<<<<<<<<<
 *     global glBlendEquation
 *     glBlendEquation = check_glBlendEquation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendColor = __pyx_f_5renpy_3gl2_6uguugl_check_glBlendColor;

  /* "renpy/gl2/uguugl.pyx":1610
 *     glBlendColor = check_glBlendColor
 *     global glBlendEquation
 *     glBlendEquation = check_glBlendEquation             # <<<<<<<<<<<<<<
 *     global glBlendEquationSeparate
 *     glBlendEquationSeparate = check_glBlendEquationSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendEquation = __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquation;

  /* "renpy/gl2/uguugl.pyx":1612
 *     glBlendEquation = check_glBlendEquation
 *     global glBlendEquationSeparate
 *     glBlendEquationSeparate = check_glBlendEquationSeparate             # <<<<<<<<<<<<<<
 *     global glBlendFunc
 *     glBlendFunc = check_glBlendFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendEquationSeparate = __pyx_f_5renpy_3gl2_6uguugl_check_glBlendEquationSeparate;

  /* "renpy/gl2/uguugl.pyx":1614
 *     glBlendEquationSeparate = check_glBlendEquationSeparate
 *     global glBlendFunc
 *     glBlendFunc = check_glBlendFunc             # <<<<<<<<<<<<<<
 *     global glBlendFuncSeparate
 *     glBlendFuncSeparate = check_glBlendFuncSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendFunc = __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFunc;

  /* "renpy/gl2/uguugl.pyx":1616
 *     glBlendFunc = check_glBlendFunc
 *     global glBlendFuncSeparate
 *     glBlendFuncSeparate = check_glBlendFuncSeparate             # <<<<<<<<<<<<<<
 *     global glBufferData
 *     glBufferData = check_glBufferData
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBlendFuncSeparate = __pyx_f_5renpy_3gl2_6uguugl_check_glBlendFuncSeparate;

  /* "renpy/gl2/uguugl.pyx":1618
 *     glBlendFuncSeparate = check_glBlendFuncSeparate
 *     global glBufferData
 *     glBufferData = check_glBufferData             # <<<<<<<<<<<<<<
 *     global glBufferSubData
 *     glBufferSubData = check_glBufferSubData
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBufferData = __pyx_f_5renpy_3gl2_6uguugl_check_glBufferData;

  /* "renpy/gl2/uguugl.pyx":1620
 *     glBufferData = check_glBufferData
 *     global glBufferSubData
 *     glBufferSubData = check_glBufferSubData             # <<<<<<<<<<<<<<
 *     global glCheckFramebufferStatus
 *     glCheckFramebufferStatus = check_glCheckFramebufferStatus
 */
  __pyx_v_5renpy_3gl2_6uguugl_glBufferSubData = __pyx_f_5renpy_3gl2_6uguugl_check_glBufferSubData;

  /* "renpy/gl2/uguugl.pyx":1622
 *     glBufferSubData = check_glBufferSubData
 *     global glCheckFramebufferStatus
 *     glCheckFramebufferStatus = check_glCheckFramebufferStatus             # <<<<<<<<<<<<<<
 *     global glClear
 *     glClear = check_glClear
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCheckFramebufferStatus = __pyx_f_5renpy_3gl2_6uguugl_check_glCheckFramebufferStatus;

  /* "renpy/gl2/uguugl.pyx":1624
 *     glCheckFramebufferStatus = check_glCheckFramebufferStatus
 *     global glClear
 *     glClear = check_glClear             # <<<<<<<<<<<<<<
 *     global glClearColor
 *     glClearColor = check_glClearColor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClear = __pyx_f_5renpy_3gl2_6uguugl_check_glClear;

  /* "renpy/gl2/uguugl.pyx":1626
 *     glClear = check_glClear
 *     global glClearColor
 *     glClearColor = check_glClearColor             # <<<<<<<<<<<<<<
 *     global glClearStencil
 *     glClearStencil = check_glClearStencil
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClearColor = __pyx_f_5renpy_3gl2_6uguugl_check_glClearColor;

  /* "renpy/gl2/uguugl.pyx":1628
 *     glClearColor = check_glClearColor
 *     global glClearStencil
 *     glClearStencil = check_glClearStencil             # <<<<<<<<<<<<<<
 *     global glColorMask
 *     glColorMask = check_glColorMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glClearStencil = __pyx_f_5renpy_3gl2_6uguugl_check_glClearStencil;

  /* "renpy/gl2/uguugl.pyx":1630
 *     glClearStencil = check_glClearStencil
 *     global glColorMask
 *     glColorMask = check_glColorMask             # <<<<<<<<<<<<<<
 *     global glCompileShader
 *     glCompileShader = check_glCompileShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glColorMask = __pyx_f_5renpy_3gl2_6uguugl_check_glColorMask;

  /* "renpy/gl2/uguugl.pyx":1632
 *     glColorMask = check_glColorMask
 *     global glCompileShader
 *     glCompileShader = check_glCompileShader             # <<<<<<<<<<<<<<
 *     global glCompressedTexImage2D
 *     glCompressedTexImage2D = check_glCompressedTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompileShader = __pyx_f_5renpy_3gl2_6uguugl_check_glCompileShader;

  /* "renpy/gl2/uguugl.pyx":1634
 *     glCompileShader = check_glCompileShader
 *     global glCompressedTexImage2D
 *     glCompressedTexImage2D = check_glCompressedTexImage2D             # <<<<<<<<<<<<<<
 *     global glCompressedTexSubImage2D
 *     glCompressedTexSubImage2D = check_glCompressedTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1636
 *     glCompressedTexImage2D = check_glCompressedTexImage2D
 *     global glCompressedTexSubImage2D
 *     glCompressedTexSubImage2D = check_glCompressedTexSubImage2D             # <<<<<<<<<<<<<<
 *     global glCopyTexImage2D
 *     glCopyTexImage2D = check_glCopyTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glCompressedTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1638
 *     glCompressedTexSubImage2D = check_glCompressedTexSubImage2D
 *     global glCopyTexImage2D
 *     glCopyTexImage2D = check_glCopyTexImage2D             # <<<<<<<<<<<<<<
 *     global glCopyTexSubImage2D
 *     glCopyTexSubImage2D = check_glCopyTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCopyTexImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1640
 *     glCopyTexImage2D = check_glCopyTexImage2D
 *     global glCopyTexSubImage2D
 *     glCopyTexSubImage2D = check_glCopyTexSubImage2D             # <<<<<<<<<<<<<<
 *     global glCreateProgram
 *     glCreateProgram = check_glCreateProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCopyTexSubImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glCopyTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1642
 *     glCopyTexSubImage2D = check_glCopyTexSubImage2D
 *     global glCreateProgram
 *     glCreateProgram = check_glCreateProgram             # <<<<<<<<<<<<<<
 *     global glCreateShader
 *     glCreateShader = check_glCreateShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCreateProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glCreateProgram;

  /* "renpy/gl2/uguugl.pyx":1644
 *     glCreateProgram = check_glCreateProgram
 *     global glCreateShader
 *     glCreateShader = check_glCreateShader             # <<<<<<<<<<<<<<
 *     global glCullFace
 *     glCullFace = check_glCullFace
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCreateShader = __pyx_f_5renpy_3gl2_6uguugl_check_glCreateShader;

  /* "renpy/gl2/uguugl.pyx":1646
 *     glCreateShader = check_glCreateShader
 *     global glCullFace
 *     glCullFace = check_glCullFace             # <<<<<<<<<<<<<<
 *     global glDeleteBuffers
 *     glDeleteBuffers = check_glDeleteBuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glCullFace = __pyx_f_5renpy_3gl2_6uguugl_check_glCullFace;

  /* "renpy/gl2/uguugl.pyx":1648
 *     glCullFace = check_glCullFace
 *     global glDeleteBuffers
 *     glDeleteBuffers = check_glDeleteBuffers             # <<<<<<<<<<<<<<
 *     global glDeleteFramebuffers
 *     glDeleteFramebuffers = check_glDeleteFramebuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteBuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteBuffers;

  /* "renpy/gl2/uguugl.pyx":1650
 *     glDeleteBuffers = check_glDeleteBuffers
 *     global glDeleteFramebuffers
 *     glDeleteFramebuffers = check_glDeleteFramebuffers             # <<<<<<<<<<<<<<
 *     global glDeleteProgram
 *     glDeleteProgram = check_glDeleteProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteFramebuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteFramebuffers;

  /* "renpy/gl2/uguugl.pyx":1652
 *     glDeleteFramebuffers = check_glDeleteFramebuffers
 *     global glDeleteProgram
 *     glDeleteProgram = check_glDeleteProgram             # <<<<<<<<<<<<<<
 *     global glDeleteRenderbuffers
 *     glDeleteRenderbuffers = check_glDeleteRenderbuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteProgram;

  /* "renpy/gl2/uguugl.pyx":1654
 *     glDeleteProgram = check_glDeleteProgram
 *     global glDeleteRenderbuffers
 *     glDeleteRenderbuffers = check_glDeleteRenderbuffers             # <<<<<<<<<<<<<<
 *     global glDeleteShader
 *     glDeleteShader = check_glDeleteShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteRenderbuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteRenderbuffers;

  /* "renpy/gl2/uguugl.pyx":1656
 *     glDeleteRenderbuffers = check_glDeleteRenderbuffers
 *     global glDeleteShader
 *     glDeleteShader = check_glDeleteShader             # <<<<<<<<<<<<<<
 *     global glDeleteTextures
 *     glDeleteTextures = check_glDeleteTextures
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteShader = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteShader;

  /* "renpy/gl2/uguugl.pyx":1658
 *     glDeleteShader = check_glDeleteShader
 *     global glDeleteTextures
 *     glDeleteTextures = check_glDeleteTextures             # <<<<<<<<<<<<<<
 *     global glDepthFunc
 *     glDepthFunc = check_glDepthFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDeleteTextures = __pyx_f_5renpy_3gl2_6uguugl_check_glDeleteTextures;

  /* "renpy/gl2/uguugl.pyx":1660
 *     glDeleteTextures = check_glDeleteTextures
 *     global glDepthFunc
 *     glDepthFunc = check_glDepthFunc             # <<<<<<<<<<<<<<
 *     global glDepthMask
 *     glDepthMask = check_glDepthMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDepthFunc = __pyx_f_5renpy_3gl2_6uguugl_check_glDepthFunc;

  /* "renpy/gl2/uguugl.pyx":1662
 *     glDepthFunc = check_glDepthFunc
 *     global glDepthMask
 *     glDepthMask = check_glDepthMask             # <<<<<<<<<<<<<<
 *     global glDetachShader
 *     glDetachShader = check_glDetachShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDepthMask = __pyx_f_5renpy_3gl2_6uguugl_check_glDepthMask;

  /* "renpy/gl2/uguugl.pyx":1664
 *     glDepthMask = check_glDepthMask
 *     global glDetachShader
 *     glDetachShader = check_glDetachShader             # <<<<<<<<<<<<<<
 *     global glDisable
 *     glDisable = check_glDisable
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDetachShader = __pyx_f_5renpy_3gl2_6uguugl_check_glDetachShader;

  /* "renpy/gl2/uguugl.pyx":1666
 *     glDetachShader = check_glDetachShader
 *     global glDisable
 *     glDisable = check_glDisable             # <<<<<<<<<<<<<<
 *     global glDisableVertexAttribArray
 *     glDisableVertexAttribArray = check_glDisableVertexAttribArray
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDisable = __pyx_f_5renpy_3gl2_6uguugl_check_glDisable;

  /* "renpy/gl2/uguugl.pyx":1668
 *     glDisable = check_glDisable
 *     global glDisableVertexAttribArray
 *     glDisableVertexAttribArray = check_glDisableVertexAttribArray             # <<<<<<<<<<<<<<
 *     global glDrawArrays
 *     glDrawArrays = check_glDrawArrays
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDisableVertexAttribArray = __pyx_f_5renpy_3gl2_6uguugl_check_glDisableVertexAttribArray;

  /* "renpy/gl2/uguugl.pyx":1670
 *     glDisableVertexAttribArray = check_glDisableVertexAttribArray
 *     global glDrawArrays
 *     glDrawArrays = check_glDrawArrays             # <<<<<<<<<<<<<<
 *     global glDrawElements
 *     glDrawElements = check_glDrawElements
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDrawArrays = __pyx_f_5renpy_3gl2_6uguugl_check_glDrawArrays;

  /* "renpy/gl2/uguugl.pyx":1672
 *     glDrawArrays = check_glDrawArrays
 *     global glDrawElements
 *     glDrawElements = check_glDrawElements             # <<<<<<<<<<<<<<
 *     global glEnable
 *     glEnable = check_glEnable
 */
  __pyx_v_5renpy_3gl2_6uguugl_glDrawElements = __pyx_f_5renpy_3gl2_6uguugl_check_glDrawElements;

  /* "renpy/gl2/uguugl.pyx":1674
 *     glDrawElements = check_glDrawElements
 *     global glEnable
 *     glEnable = check_glEnable             # <<<<<<<<<<<<<<
 *     global glEnableVertexAttribArray
 *     glEnableVertexAttribArray = check_glEnableVertexAttribArray
 */
  __pyx_v_5renpy_3gl2_6uguugl_glEnable = __pyx_f_5renpy_3gl2_6uguugl_check_glEnable;

  /* "renpy/gl2/uguugl.pyx":1676
 *     glEnable = check_glEnable
 *     global glEnableVertexAttribArray
 *     glEnableVertexAttribArray = check_glEnableVertexAttribArray             # <<<<<<<<<<<<<<
 *     global glFinish
 *     glFinish = check_glFinish
 */
  __pyx_v_5renpy_3gl2_6uguugl_glEnableVertexAttribArray = __pyx_f_5renpy_3gl2_6uguugl_check_glEnableVertexAttribArray;

  /* "renpy/gl2/uguugl.pyx":1678
 *     glEnableVertexAttribArray = check_glEnableVertexAttribArray
 *     global glFinish
 *     glFinish = check_glFinish             # <<<<<<<<<<<<<<
 *     global glFlush
 *     glFlush = check_glFlush
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFinish = __pyx_f_5renpy_3gl2_6uguugl_check_glFinish;

  /* "renpy/gl2/uguugl.pyx":1680
 *     glFinish = check_glFinish
 *     global glFlush
 *     glFlush = check_glFlush             # <<<<<<<<<<<<<<
 *     global glFramebufferRenderbuffer
 *     glFramebufferRenderbuffer = check_glFramebufferRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFlush = __pyx_f_5renpy_3gl2_6uguugl_check_glFlush;

  /* "renpy/gl2/uguugl.pyx":1682
 *     glFlush = check_glFlush
 *     global glFramebufferRenderbuffer
 *     glFramebufferRenderbuffer = check_glFramebufferRenderbuffer             # <<<<<<<<<<<<<<
 *     global glFramebufferTexture2D
 *     glFramebufferTexture2D = check_glFramebufferTexture2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1684
 *     glFramebufferRenderbuffer = check_glFramebufferRenderbuffer
 *     global glFramebufferTexture2D
 *     glFramebufferTexture2D = check_glFramebufferTexture2D             # <<<<<<<<<<<<<<
 *     global glFrontFace
 *     glFrontFace = check_glFrontFace
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFramebufferTexture2D = __pyx_f_5renpy_3gl2_6uguugl_check_glFramebufferTexture2D;

  /* "renpy/gl2/uguugl.pyx":1686
 *     glFramebufferTexture2D = check_glFramebufferTexture2D
 *     global glFrontFace
 *     glFrontFace = check_glFrontFace             # <<<<<<<<<<<<<<
 *     global glGenBuffers
 *     glGenBuffers = check_glGenBuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glFrontFace = __pyx_f_5renpy_3gl2_6uguugl_check_glFrontFace;

  /* "renpy/gl2/uguugl.pyx":1688
 *     glFrontFace = check_glFrontFace
 *     global glGenBuffers
 *     glGenBuffers = check_glGenBuffers             # <<<<<<<<<<<<<<
 *     global glGenFramebuffers
 *     glGenFramebuffers = check_glGenFramebuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenBuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glGenBuffers;

  /* "renpy/gl2/uguugl.pyx":1690
 *     glGenBuffers = check_glGenBuffers
 *     global glGenFramebuffers
 *     glGenFramebuffers = check_glGenFramebuffers             # <<<<<<<<<<<<<<
 *     global glGenRenderbuffers
 *     glGenRenderbuffers = check_glGenRenderbuffers
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenFramebuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glGenFramebuffers;

  /* "renpy/gl2/uguugl.pyx":1692
 *     glGenFramebuffers = check_glGenFramebuffers
 *     global glGenRenderbuffers
 *     glGenRenderbuffers = check_glGenRenderbuffers             # <<<<<<<<<<<<<<
 *     global glGenTextures
 *     glGenTextures = check_glGenTextures
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenRenderbuffers = __pyx_f_5renpy_3gl2_6uguugl_check_glGenRenderbuffers;

  /* "renpy/gl2/uguugl.pyx":1694
 *     glGenRenderbuffers = check_glGenRenderbuffers
 *     global glGenTextures
 *     glGenTextures = check_glGenTextures             # <<<<<<<<<<<<<<
 *     global glGenerateMipmap
 *     glGenerateMipmap = check_glGenerateMipmap
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenTextures = __pyx_f_5renpy_3gl2_6uguugl_check_glGenTextures;

  /* "renpy/gl2/uguugl.pyx":1696
 *     glGenTextures = check_glGenTextures
 *     global glGenerateMipmap
 *     glGenerateMipmap = check_glGenerateMipmap             # <<<<<<<<<<<<<<
 *     global glGetActiveAttrib
 *     glGetActiveAttrib = check_glGetActiveAttrib
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGenerateMipmap = __pyx_f_5renpy_3gl2_6uguugl_check_glGenerateMipmap;

  /* "renpy/gl2/uguugl.pyx":1698
 *     glGenerateMipmap = check_glGenerateMipmap
 *     global glGetActiveAttrib
 *     glGetActiveAttrib = check_glGetActiveAttrib             # <<<<<<<<<<<<<<
 *     global glGetActiveUniform
 *     glGetActiveUniform = check_glGetActiveUniform
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetActiveAttrib = __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveAttrib;

  /* "renpy/gl2/uguugl.pyx":1700
 *     glGetActiveAttrib = check_glGetActiveAttrib
 *     global glGetActiveUniform
 *     glGetActiveUniform = check_glGetActiveUniform             # <<<<<<<<<<<<<<
 *     global glGetAttachedShaders
 *     glGetAttachedShaders = check_glGetAttachedShaders
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetActiveUniform = __pyx_f_5renpy_3gl2_6uguugl_check_glGetActiveUniform;

  /* "renpy/gl2/uguugl.pyx":1702
 *     glGetActiveUniform = check_glGetActiveUniform
 *     global glGetAttachedShaders
 *     glGetAttachedShaders = check_glGetAttachedShaders             # <<<<<<<<<<<<<<
 *     global glGetAttribLocation
 *     glGetAttribLocation = check_glGetAttribLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetAttachedShaders = __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttachedShaders;

  /* "renpy/gl2/uguugl.pyx":1704
 *     glGetAttachedShaders = check_glGetAttachedShaders
 *     global glGetAttribLocation
 *     glGetAttribLocation = check_glGetAttribLocation             # <<<<<<<<<<<<<<
 *     global glGetBooleanv
 *     glGetBooleanv = check_glGetBooleanv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetAttribLocation = __pyx_f_5renpy_3gl2_6uguugl_check_glGetAttribLocation;

  /* "renpy/gl2/uguugl.pyx":1706
 *     glGetAttribLocation = check_glGetAttribLocation
 *     global glGetBooleanv
 *     glGetBooleanv = check_glGetBooleanv             # <<<<<<<<<<<<<<
 *     global glGetBufferParameteriv
 *     glGetBufferParameteriv = check_glGetBufferParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetBooleanv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetBooleanv;

  /* "renpy/gl2/uguugl.pyx":1708
 *     glGetBooleanv = check_glGetBooleanv
 *     global glGetBufferParameteriv
 *     glGetBufferParameteriv = check_glGetBufferParameteriv             # <<<<<<<<<<<<<<
 *     global glGetError
 *     glGetError = check_glGetError
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetBufferParameteriv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetBufferParameteriv;

  /* "renpy/gl2/uguugl.pyx":1710
 *     glGetBufferParameteriv = check_glGetBufferParameteriv
 *     global glGetError
 *     glGetError = check_glGetError             # <<<<<<<<<<<<<<
 *     global glGetFloatv
 *     glGetFloatv = check_glGetFloatv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetError = __pyx_f_5renpy_3gl2_6uguugl_check_glGetError;

  /* "renpy/gl2/uguugl.pyx":1712
 *     glGetError = check_glGetError
 *     global glGetFloatv
 *     glGetFloatv = check_glGetFloatv             # <<<<<<<<<<<<<<
 *     global glGetFramebufferAttachmentParameteriv
 *     glGetFramebufferAttachmentParameteriv = check_glGetFramebufferAttachmentParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetFloatv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetFloatv;

  /* "renpy/gl2/uguugl.pyx":1714
 *     glGetFloatv = check_glGetFloatv
 *     global glGetFramebufferAttachmentParameteriv
 *     glGetFramebufferAttachmentParameteriv = check_glGetFramebufferAttachmentParameteriv             # <<<<<<<<<<<<<<
 *     global glGetIntegerv
 *     glGetIntegerv = check_glGetIntegerv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetFramebufferAttachmentParameteriv;

  /* "renpy/gl2/uguugl.pyx":1716
 *     glGetFramebufferAttachmentParameteriv = check_glGetFramebufferAttachmentParameteriv
 *     global glGetIntegerv
 *     glGetIntegerv = check_glGetIntegerv             # <<<<<<<<<<<<<<
 *     global glGetProgramInfoLog
 *     glGetProgramInfoLog = check_glGetProgramInfoLog
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetIntegerv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetIntegerv;

  /* "renpy/gl2/uguugl.pyx":1718
 *     glGetIntegerv = check_glGetIntegerv
 *     global glGetProgramInfoLog
 *     glGetProgramInfoLog = check_glGetProgramInfoLog             # <<<<<<<<<<<<<<
 *     global glGetProgramiv
 *     glGetProgramiv = check_glGetProgramiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetProgramInfoLog = __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramInfoLog;

  /* "renpy/gl2/uguugl.pyx":1720
 *     glGetProgramInfoLog = check_glGetProgramInfoLog
 *     global glGetProgramiv
 *     glGetProgramiv = check_glGetProgramiv             # <<<<<<<<<<<<<<
 *     global glGetRenderbufferParameteriv
 *     glGetRenderbufferParameteriv = check_glGetRenderbufferParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetProgramiv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetProgramiv;

  /* "renpy/gl2/uguugl.pyx":1722
 *     glGetProgramiv = check_glGetProgramiv
 *     global glGetRenderbufferParameteriv
 *     glGetRenderbufferParameteriv = check_glGetRenderbufferParameteriv             # <<<<<<<<<<<<<<
 *     global glGetShaderInfoLog
 *     glGetShaderInfoLog = check_glGetShaderInfoLog
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetRenderbufferParameteriv;

  /* "renpy/gl2/uguugl.pyx":1724
 *     glGetRenderbufferParameteriv = check_glGetRenderbufferParameteriv
 *     global glGetShaderInfoLog
 *     glGetShaderInfoLog = check_glGetShaderInfoLog             # <<<<<<<<<<<<<<
 *     global glGetShaderSource
 *     glGetShaderSource = check_glGetShaderSource
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderInfoLog = __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderInfoLog;

  /* "renpy/gl2/uguugl.pyx":1726
 *     glGetShaderInfoLog = check_glGetShaderInfoLog
 *     global glGetShaderSource
 *     glGetShaderSource = check_glGetShaderSource             # <<<<<<<<<<<<<<
 *     global glGetShaderiv
 *     glGetShaderiv = check_glGetShaderiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderSource = __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderSource;

  /* "renpy/gl2/uguugl.pyx":1728
 *     glGetShaderSource = check_glGetShaderSource
 *     global glGetShaderiv
 *     glGetShaderiv = check_glGetShaderiv             # <<<<<<<<<<<<<<
 *     global glGetString
 *     glGetString = check_glGetString
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetShaderiv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetShaderiv;

  /* "renpy/gl2/uguugl.pyx":1730
 *     glGetShaderiv = check_glGetShaderiv
 *     global glGetString
 *     glGetString = check_glGetString             # <<<<<<<<<<<<<<
 *     global glGetTexParameterfv
 *     glGetTexParameterfv = check_glGetTexParameterfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetString = __pyx_f_5renpy_3gl2_6uguugl_check_glGetString;

  /* "renpy/gl2/uguugl.pyx":1732
 *     glGetString = check_glGetString
 *     global glGetTexParameterfv
 *     glGetTexParameterfv = check_glGetTexParameterfv             # <<<<<<<<<<<<<<
 *     global glGetTexParameteriv
 *     glGetTexParameteriv = check_glGetTexParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameterfv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameterfv;

  /* "renpy/gl2/uguugl.pyx":1734
 *     glGetTexParameterfv = check_glGetTexParameterfv
 *     global glGetTexParameteriv
 *     glGetTexParameteriv = check_glGetTexParameteriv             # <<<<<<<<<<<<<<
 *     global glGetUniformLocation
 *     glGetUniformLocation = check_glGetUniformLocation
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetTexParameteriv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetTexParameteriv;

  /* "renpy/gl2/uguugl.pyx":1736
 *     glGetTexParameteriv = check_glGetTexParameteriv
 *     global glGetUniformLocation
 *     glGetUniformLocation = check_glGetUniformLocation             # <<<<<<<<<<<<<<
 *     global glGetUniformfv
 *     glGetUniformfv = check_glGetUniformfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformLocation = __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformLocation;

  /* "renpy/gl2/uguugl.pyx":1738
 *     glGetUniformLocation = check_glGetUniformLocation
 *     global glGetUniformfv
 *     glGetUniformfv = check_glGetUniformfv             # <<<<<<<<<<<<<<
 *     global glGetUniformiv
 *     glGetUniformiv = check_glGetUniformiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformfv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformfv;

  /* "renpy/gl2/uguugl.pyx":1740
 *     glGetUniformfv = check_glGetUniformfv
 *     global glGetUniformiv
 *     glGetUniformiv = check_glGetUniformiv             # <<<<<<<<<<<<<<
 *     global glGetVertexAttribPointerv
 *     glGetVertexAttribPointerv = check_glGetVertexAttribPointerv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetUniformiv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetUniformiv;

  /* "renpy/gl2/uguugl.pyx":1742
 *     glGetUniformiv = check_glGetUniformiv
 *     global glGetVertexAttribPointerv
 *     glGetVertexAttribPointerv = check_glGetVertexAttribPointerv             # <<<<<<<<<<<<<<
 *     global glGetVertexAttribfv
 *     glGetVertexAttribfv = check_glGetVertexAttribfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribPointerv;

  /* "renpy/gl2/uguugl.pyx":1744
 *     glGetVertexAttribPointerv = check_glGetVertexAttribPointerv
 *     global glGetVertexAttribfv
 *     glGetVertexAttribfv = check_glGetVertexAttribfv             # <<<<<<<<<<<<<<
 *     global glGetVertexAttribiv
 *     glGetVertexAttribiv = check_glGetVertexAttribiv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribfv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribfv;

  /* "renpy/gl2/uguugl.pyx":1746
 *     glGetVertexAttribfv = check_glGetVertexAttribfv
 *     global glGetVertexAttribiv
 *     glGetVertexAttribiv = check_glGetVertexAttribiv             # <<<<<<<<<<<<<<
 *     global glHint
 *     glHint = check_glHint
 */
  __pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribiv = __pyx_f_5renpy_3gl2_6uguugl_check_glGetVertexAttribiv;

  /* "renpy/gl2/uguugl.pyx":1748
 *     glGetVertexAttribiv = check_glGetVertexAttribiv
 *     global glHint
 *     glHint = check_glHint             # <<<<<<<<<<<<<<
 *     global glIsBuffer
 *     glIsBuffer = check_glIsBuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glHint = __pyx_f_5renpy_3gl2_6uguugl_check_glHint;

  /* "renpy/gl2/uguugl.pyx":1750
 *     glHint = check_glHint
 *     global glIsBuffer
 *     glIsBuffer = check_glIsBuffer             # <<<<<<<<<<<<<<
 *     global glIsEnabled
 *     glIsEnabled = check_glIsEnabled
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsBuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glIsBuffer;

  /* "renpy/gl2/uguugl.pyx":1752
 *     glIsBuffer = check_glIsBuffer
 *     global glIsEnabled
 *     glIsEnabled = check_glIsEnabled             # <<<<<<<<<<<<<<
 *     global glIsFramebuffer
 *     glIsFramebuffer = check_glIsFramebuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsEnabled = __pyx_f_5renpy_3gl2_6uguugl_check_glIsEnabled;

  /* "renpy/gl2/uguugl.pyx":1754
 *     glIsEnabled = check_glIsEnabled
 *     global glIsFramebuffer
 *     glIsFramebuffer = check_glIsFramebuffer             # <<<<<<<<<<<<<<
 *     global glIsProgram
 *     glIsProgram = check_glIsProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsFramebuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glIsFramebuffer;

  /* "renpy/gl2/uguugl.pyx":1756
 *     glIsFramebuffer = check_glIsFramebuffer
 *     global glIsProgram
 *     glIsProgram = check_glIsProgram             # <<<<<<<<<<<<<<
 *     global glIsRenderbuffer
 *     glIsRenderbuffer = check_glIsRenderbuffer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glIsProgram;

  /* "renpy/gl2/uguugl.pyx":1758
 *     glIsProgram = check_glIsProgram
 *     global glIsRenderbuffer
 *     glIsRenderbuffer = check_glIsRenderbuffer             # <<<<<<<<<<<<<<
 *     global glIsShader
 *     glIsShader = check_glIsShader
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsRenderbuffer = __pyx_f_5renpy_3gl2_6uguugl_check_glIsRenderbuffer;

  /* "renpy/gl2/uguugl.pyx":1760
 *     glIsRenderbuffer = check_glIsRenderbuffer
 *     global glIsShader
 *     glIsShader = check_glIsShader             # <<<<<<<<<<<<<<
 *     global glIsTexture
 *     glIsTexture = check_glIsTexture
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsShader = __pyx_f_5renpy_3gl2_6uguugl_check_glIsShader;

  /* "renpy/gl2/uguugl.pyx":1762
 *     glIsShader = check_glIsShader
 *     global glIsTexture
 *     glIsTexture = check_glIsTexture             # <<<<<<<<<<<<<<
 *     global glLineWidth
 *     glLineWidth = check_glLineWidth
 */
  __pyx_v_5renpy_3gl2_6uguugl_glIsTexture = __pyx_f_5renpy_3gl2_6uguugl_check_glIsTexture;

  /* "renpy/gl2/uguugl.pyx":1764
 *     glIsTexture = check_glIsTexture
 *     global glLineWidth
 *     glLineWidth = check_glLineWidth             # <<<<<<<<<<<<<<
 *     global glLinkProgram
 *     glLinkProgram = check_glLinkProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glLineWidth = __pyx_f_5renpy_3gl2_6uguugl_check_glLineWidth;

  /* "renpy/gl2/uguugl.pyx":1766
 *     glLineWidth = check_glLineWidth
 *     global glLinkProgram
 *     glLinkProgram = check_glLinkProgram             # <<<<<<<<<<<<<<
 *     global glPixelStorei
 *     glPixelStorei = check_glPixelStorei
 */
  __pyx_v_5renpy_3gl2_6uguugl_glLinkProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glLinkProgram;

  /* "renpy/gl2/uguugl.pyx":1768
 *     glLinkProgram = check_glLinkProgram
 *     global glPixelStorei
 *     glPixelStorei = check_glPixelStorei             # <<<<<<<<<<<<<<
 *     global glPolygonOffset
 *     glPolygonOffset = check_glPolygonOffset
 */
  __pyx_v_5renpy_3gl2_6uguugl_glPixelStorei = __pyx_f_5renpy_3gl2_6uguugl_check_glPixelStorei;

  /* "renpy/gl2/uguugl.pyx":1770
 *     glPixelStorei = check_glPixelStorei
 *     global glPolygonOffset
 *     glPolygonOffset = check_glPolygonOffset             # <<<<<<<<<<<<<<
 *     global glReadPixels
 *     glReadPixels = check_glReadPixels
 */
  __pyx_v_5renpy_3gl2_6uguugl_glPolygonOffset = __pyx_f_5renpy_3gl2_6uguugl_check_glPolygonOffset;

  /* "renpy/gl2/uguugl.pyx":1772
 *     glPolygonOffset = check_glPolygonOffset
 *     global glReadPixels
 *     glReadPixels = check_glReadPixels             # <<<<<<<<<<<<<<
 *     global glRenderbufferStorage
 *     glRenderbufferStorage = check_glRenderbufferStorage
 */
  __pyx_v_5renpy_3gl2_6uguugl_glReadPixels = __pyx_f_5renpy_3gl2_6uguugl_check_glReadPixels;

  /* "renpy/gl2/uguugl.pyx":1774
 *     glReadPixels = check_glReadPixels
 *     global glRenderbufferStorage
 *     glRenderbufferStorage = check_glRenderbufferStorage             # <<<<<<<<<<<<<<
 *     global glSampleCoverage
 *     glSampleCoverage = check_glSampleCoverage
 */
  __pyx_v_5renpy_3gl2_6uguugl_glRenderbufferStorage = __pyx_f_5renpy_3gl2_6uguugl_check_glRenderbufferStorage;

  /* "renpy/gl2/uguugl.pyx":1776
 *     glRenderbufferStorage = check_glRenderbufferStorage
 *     global glSampleCoverage
 *     glSampleCoverage = check_glSampleCoverage             # <<<<<<<<<<<<<<
 *     global glScissor
 *     glScissor = check_glScissor
 */
  __pyx_v_5renpy_3gl2_6uguugl_glSampleCoverage = __pyx_f_5renpy_3gl2_6uguugl_check_glSampleCoverage;

  /* "renpy/gl2/uguugl.pyx":1778
 *     glSampleCoverage = check_glSampleCoverage
 *     global glScissor
 *     glScissor = check_glScissor             # <<<<<<<<<<<<<<
 *     global glShaderSource
 *     glShaderSource = check_glShaderSource
 */
  __pyx_v_5renpy_3gl2_6uguugl_glScissor = __pyx_f_5renpy_3gl2_6uguugl_check_glScissor;

  /* "renpy/gl2/uguugl.pyx":1780
 *     glScissor = check_glScissor
 *     global glShaderSource
 *     glShaderSource = check_glShaderSource             # <<<<<<<<<<<<<<
 *     global glStencilFunc
 *     glStencilFunc = check_glStencilFunc
 */
  __pyx_v_5renpy_3gl2_6uguugl_glShaderSource = __pyx_f_5renpy_3gl2_6uguugl_check_glShaderSource;

  /* "renpy/gl2/uguugl.pyx":1782
 *     glShaderSource = check_glShaderSource
 *     global glStencilFunc
 *     glStencilFunc = check_glStencilFunc             # <<<<<<<<<<<<<<
 *     global glStencilFuncSeparate
 *     glStencilFuncSeparate = check_glStencilFuncSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilFunc = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFunc;

  /* "renpy/gl2/uguugl.pyx":1784
 *     glStencilFunc = check_glStencilFunc
 *     global glStencilFuncSeparate
 *     glStencilFuncSeparate = check_glStencilFuncSeparate             # <<<<<<<<<<<<<<
 *     global glStencilMask
 *     glStencilMask = check_glStencilMask
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilFuncSeparate = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilFuncSeparate;

  /* "renpy/gl2/uguugl.pyx":1786
 *     glStencilFuncSeparate = check_glStencilFuncSeparate
 *     global glStencilMask
 *     glStencilMask = check_glStencilMask             # <<<<<<<<<<<<<<
 *     global glStencilMaskSeparate
 *     glStencilMaskSeparate = check_glStencilMaskSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilMask = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMask;

  /* "renpy/gl2/uguugl.pyx":1788
 *     glStencilMask = check_glStencilMask
 *     global glStencilMaskSeparate
 *     glStencilMaskSeparate = check_glStencilMaskSeparate             # <<<<<<<<<<<<<<
 *     global glStencilOp
 *     glStencilOp = check_glStencilOp
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilMaskSeparate = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilMaskSeparate;

  /* "renpy/gl2/uguugl.pyx":1790
 *     glStencilMaskSeparate = check_glStencilMaskSeparate
 *     global glStencilOp
 *     glStencilOp = check_glStencilOp             # <<<<<<<<<<<<<<
 *     global glStencilOpSeparate
 *     glStencilOpSeparate = check_glStencilOpSeparate
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilOp = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOp;

  /* "renpy/gl2/uguugl.pyx":1792
 *     glStencilOp = check_glStencilOp
 *     global glStencilOpSeparate
 *     glStencilOpSeparate = check_glStencilOpSeparate             # <<<<<<<<<<<<<<
 *     global glTexImage2D
 *     glTexImage2D = check_glTexImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glStencilOpSeparate = __pyx_f_5renpy_3gl2_6uguugl_check_glStencilOpSeparate;

  /* "renpy/gl2/uguugl.pyx":1794
 *     glStencilOpSeparate = check_glStencilOpSeparate
 *     global glTexImage2D
 *     glTexImage2D = check_glTexImage2D             # <<<<<<<<<<<<<<
 *     global glTexParameterf
 *     glTexParameterf = check_glTexParameterf
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glTexImage2D;

  /* "renpy/gl2/uguugl.pyx":1796
 *     glTexImage2D = check_glTexImage2D
 *     global glTexParameterf
 *     glTexParameterf = check_glTexParameterf             # <<<<<<<<<<<<<<
 *     global glTexParameterfv
 *     glTexParameterfv = check_glTexParameterfv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameterf = __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterf;

  /* "renpy/gl2/uguugl.pyx":1798
 *     glTexParameterf = check_glTexParameterf
 *     global glTexParameterfv
 *     glTexParameterfv = check_glTexParameterfv             # <<<<<<<<<<<<<<
 *     global glTexParameteri
 *     glTexParameteri = check_glTexParameteri
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameterfv = __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameterfv;

  /* "renpy/gl2/uguugl.pyx":1800
 *     glTexParameterfv = check_glTexParameterfv
 *     global glTexParameteri
 *     glTexParameteri = check_glTexParameteri             # <<<<<<<<<<<<<<
 *     global glTexParameteriv
 *     glTexParameteriv = check_glTexParameteriv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameteri = __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteri;

  /* "renpy/gl2/uguugl.pyx":1802
 *     glTexParameteri = check_glTexParameteri
 *     global glTexParameteriv
 *     glTexParameteriv = check_glTexParameteriv             # <<<<<<<<<<<<<<
 *     global glTexSubImage2D
 *     glTexSubImage2D = check_glTexSubImage2D
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexParameteriv = __pyx_f_5renpy_3gl2_6uguugl_check_glTexParameteriv;

  /* "renpy/gl2/uguugl.pyx":1804
 *     glTexParameteriv = check_glTexParameteriv
 *     global glTexSubImage2D
 *     glTexSubImage2D = check_glTexSubImage2D             # <<<<<<<<<<<<<<
 *     global glUniform1f
 *     glUniform1f = check_glUniform1f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glTexSubImage2D = __pyx_f_5renpy_3gl2_6uguugl_check_glTexSubImage2D;

  /* "renpy/gl2/uguugl.pyx":1806
 *     glTexSubImage2D = check_glTexSubImage2D
 *     global glUniform1f
 *     glUniform1f = check_glUniform1f             # <<<<<<<<<<<<<<
 *     global glUniform1fv
 *     glUniform1fv = check_glUniform1fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1f = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1f;

  /* "renpy/gl2/uguugl.pyx":1808
 *     glUniform1f = check_glUniform1f
 *     global glUniform1fv
 *     glUniform1fv = check_glUniform1fv             # <<<<<<<<<<<<<<
 *     global glUniform1i
 *     glUniform1i = check_glUniform1i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1fv;

  /* "renpy/gl2/uguugl.pyx":1810
 *     glUniform1fv = check_glUniform1fv
 *     global glUniform1i
 *     glUniform1i = check_glUniform1i             # <<<<<<<<<<<<<<
 *     global glUniform1iv
 *     glUniform1iv = check_glUniform1iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1i = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1i;

  /* "renpy/gl2/uguugl.pyx":1812
 *     glUniform1i = check_glUniform1i
 *     global glUniform1iv
 *     glUniform1iv = check_glUniform1iv             # <<<<<<<<<<<<<<
 *     global glUniform2f
 *     glUniform2f = check_glUniform2f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform1iv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform1iv;

  /* "renpy/gl2/uguugl.pyx":1814
 *     glUniform1iv = check_glUniform1iv
 *     global glUniform2f
 *     glUniform2f = check_glUniform2f             # <<<<<<<<<<<<<<
 *     global glUniform2fv
 *     glUniform2fv = check_glUniform2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2f = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2f;

  /* "renpy/gl2/uguugl.pyx":1816
 *     glUniform2f = check_glUniform2f
 *     global glUniform2fv
 *     glUniform2fv = check_glUniform2fv             # <<<<<<<<<<<<<<
 *     global glUniform2i
 *     glUniform2i = check_glUniform2i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2fv;

  /* "renpy/gl2/uguugl.pyx":1818
 *     glUniform2fv = check_glUniform2fv
 *     global glUniform2i
 *     glUniform2i = check_glUniform2i             # <<<<<<<<<<<<<<
 *     global glUniform2iv
 *     glUniform2iv = check_glUniform2iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2i = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2i;

  /* "renpy/gl2/uguugl.pyx":1820
 *     glUniform2i = check_glUniform2i
 *     global glUniform2iv
 *     glUniform2iv = check_glUniform2iv             # <<<<<<<<<<<<<<
 *     global glUniform3f
 *     glUniform3f = check_glUniform3f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform2iv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform2iv;

  /* "renpy/gl2/uguugl.pyx":1822
 *     glUniform2iv = check_glUniform2iv
 *     global glUniform3f
 *     glUniform3f = check_glUniform3f             # <<<<<<<<<<<<<<
 *     global glUniform3fv
 *     glUniform3fv = check_glUniform3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3f = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3f;

  /* "renpy/gl2/uguugl.pyx":1824
 *     glUniform3f = check_glUniform3f
 *     global glUniform3fv
 *     glUniform3fv = check_glUniform3fv             # <<<<<<<<<<<<<<
 *     global glUniform3i
 *     glUniform3i = check_glUniform3i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3fv;

  /* "renpy/gl2/uguugl.pyx":1826
 *     glUniform3fv = check_glUniform3fv
 *     global glUniform3i
 *     glUniform3i = check_glUniform3i             # <<<<<<<<<<<<<<
 *     global glUniform3iv
 *     glUniform3iv = check_glUniform3iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3i = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3i;

  /* "renpy/gl2/uguugl.pyx":1828
 *     glUniform3i = check_glUniform3i
 *     global glUniform3iv
 *     glUniform3iv = check_glUniform3iv             # <<<<<<<<<<<<<<
 *     global glUniform4f
 *     glUniform4f = check_glUniform4f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform3iv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform3iv;

  /* "renpy/gl2/uguugl.pyx":1830
 *     glUniform3iv = check_glUniform3iv
 *     global glUniform4f
 *     glUniform4f = check_glUniform4f             # <<<<<<<<<<<<<<
 *     global glUniform4fv
 *     glUniform4fv = check_glUniform4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4f = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4f;

  /* "renpy/gl2/uguugl.pyx":1832
 *     glUniform4f = check_glUniform4f
 *     global glUniform4fv
 *     glUniform4fv = check_glUniform4fv             # <<<<<<<<<<<<<<
 *     global glUniform4i
 *     glUniform4i = check_glUniform4i
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4fv;

  /* "renpy/gl2/uguugl.pyx":1834
 *     glUniform4fv = check_glUniform4fv
 *     global glUniform4i
 *     glUniform4i = check_glUniform4i             # <<<<<<<<<<<<<<
 *     global glUniform4iv
 *     glUniform4iv = check_glUniform4iv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4i = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4i;

  /* "renpy/gl2/uguugl.pyx":1836
 *     glUniform4i = check_glUniform4i
 *     global glUniform4iv
 *     glUniform4iv = check_glUniform4iv             # <<<<<<<<<<<<<<
 *     global glUniformMatrix2fv
 *     glUniformMatrix2fv = check_glUniformMatrix2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniform4iv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniform4iv;

  /* "renpy/gl2/uguugl.pyx":1838
 *     glUniform4iv = check_glUniform4iv
 *     global glUniformMatrix2fv
 *     glUniformMatrix2fv = check_glUniformMatrix2fv             # <<<<<<<<<<<<<<
 *     global glUniformMatrix3fv
 *     glUniformMatrix3fv = check_glUniformMatrix3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix2fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix2fv;

  /* "renpy/gl2/uguugl.pyx":1840
 *     glUniformMatrix2fv = check_glUniformMatrix2fv
 *     global glUniformMatrix3fv
 *     glUniformMatrix3fv = check_glUniformMatrix3fv             # <<<<<<<<<<<<<<
 *     global glUniformMatrix4fv
 *     glUniformMatrix4fv = check_glUniformMatrix4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix3fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix3fv;

  /* "renpy/gl2/uguugl.pyx":1842
 *     glUniformMatrix3fv = check_glUniformMatrix3fv
 *     global glUniformMatrix4fv
 *     glUniformMatrix4fv = check_glUniformMatrix4fv             # <<<<<<<<<<<<<<
 *     global glUseProgram
 *     glUseProgram = check_glUseProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix4fv = __pyx_f_5renpy_3gl2_6uguugl_check_glUniformMatrix4fv;

  /* "renpy/gl2/uguugl.pyx":1844
 *     glUniformMatrix4fv = check_glUniformMatrix4fv
 *     global glUseProgram
 *     glUseProgram = check_glUseProgram             # <<<<<<<<<<<<<<
 *     global glValidateProgram
 *     glValidateProgram = check_glValidateProgram
 */
  __pyx_v_5renpy_3gl2_6uguugl_glUseProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glUseProgram;

  /* "renpy/gl2/uguugl.pyx":1846
 *     glUseProgram = check_glUseProgram
 *     global glValidateProgram
 *     glValidateProgram = check_glValidateProgram             # <<<<<<<<<<<<<<
 *     global glVertexAttrib1f
 *     glVertexAttrib1f = check_glVertexAttrib1f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glValidateProgram = __pyx_f_5renpy_3gl2_6uguugl_check_glValidateProgram;

  /* "renpy/gl2/uguugl.pyx":1848
 *     glValidateProgram = check_glValidateProgram
 *     global glVertexAttrib1f
 *     glVertexAttrib1f = check_glVertexAttrib1f             # <<<<<<<<<<<<<<
 *     global glVertexAttrib1fv
 *     glVertexAttrib1fv = check_glVertexAttrib1fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1f = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1f;

  /* "renpy/gl2/uguugl.pyx":1850
 *     glVertexAttrib1f = check_glVertexAttrib1f
 *     global glVertexAttrib1fv
 *     glVertexAttrib1fv = check_glVertexAttrib1fv             # <<<<<<<<<<<<<<
 *     global glVertexAttrib2f
 *     glVertexAttrib2f = check_glVertexAttrib2f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1fv = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib1fv;

  /* "renpy/gl2/uguugl.pyx":1852
 *     glVertexAttrib1fv = check_glVertexAttrib1fv
 *     global glVertexAttrib2f
 *     glVertexAttrib2f = check_glVertexAttrib2f             # <<<<<<<<<<<<<<
 *     global glVertexAttrib2fv
 *     glVertexAttrib2fv = check_glVertexAttrib2fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2f = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2f;

  /* "renpy/gl2/uguugl.pyx":1854
 *     glVertexAttrib2f = check_glVertexAttrib2f
 *     global glVertexAttrib2fv
 *     glVertexAttrib2fv = check_glVertexAttrib2fv             # <<<<<<<<<<<<<<
 *     global glVertexAttrib3f
 *     glVertexAttrib3f = check_glVertexAttrib3f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2fv = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib2fv;

  /* "renpy/gl2/uguugl.pyx":1856
 *     glVertexAttrib2fv = check_glVertexAttrib2fv
 *     global glVertexAttrib3f
 *     glVertexAttrib3f = check_glVertexAttrib3f             # <<<<<<<<<<<<<<
 *     global glVertexAttrib3fv
 *     glVertexAttrib3fv = check_glVertexAttrib3fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3f = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3f;

  /* "renpy/gl2/uguugl.pyx":1858
 *     glVertexAttrib3f = check_glVertexAttrib3f
 *     global glVertexAttrib3fv
 *     glVertexAttrib3fv = check_glVertexAttrib3fv             # <<<<<<<<<<<<<<
 *     global glVertexAttrib4f
 *     glVertexAttrib4f = check_glVertexAttrib4f
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3fv = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib3fv;

  /* "renpy/gl2/uguugl.pyx":1860
 *     glVertexAttrib3fv = check_glVertexAttrib3fv
 *     global glVertexAttrib4f
 *     glVertexAttrib4f = check_glVertexAttrib4f             # <<<<<<<<<<<<<<
 *     global glVertexAttrib4fv
 *     glVertexAttrib4fv = check_glVertexAttrib4fv
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4f = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4f;

  /* "renpy/gl2/uguugl.pyx":1862
 *     glVertexAttrib4f = check_glVertexAttrib4f
 *     global glVertexAttrib4fv
 *     glVertexAttrib4fv = check_glVertexAttrib4fv             # <<<<<<<<<<<<<<
 *     global glVertexAttribPointer
 *     glVertexAttribPointer = check_glVertexAttribPointer
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4fv = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttrib4fv;

  /* "renpy/gl2/uguugl.pyx":1864
 *     glVertexAttrib4fv = check_glVertexAttrib4fv
 *     global glVertexAttribPointer
 *     glVertexAttribPointer = check_glVertexAttribPointer             # <<<<<<<<<<<<<<
 *     global glViewport
 *     glViewport = check_glViewport
 */
  __pyx_v_5renpy_3gl2_6uguugl_glVertexAttribPointer = __pyx_f_5renpy_3gl2_6uguugl_check_glVertexAttribPointer;

  /* "renpy/gl2/uguugl.pyx":1866
 *     glVertexAttribPointer = check_glVertexAttribPointer
 *     global glViewport
 *     glViewport = check_glViewport             # <<<<<<<<<<<<<<
 */
  __pyx_v_5renpy_3gl2_6uguugl_glViewport = __pyx_f_5renpy_3gl2_6uguugl_check_glViewport;

  /* "renpy/gl2/uguugl.pyx":1592
 *     glViewport = real_glViewport
 * 
 * def enable_check_error():             # <<<<<<<<<<<<<<
 *     global glActiveTexture
 *     glActiveTexture = check_glActiveTexture
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
#if CYTHON_PEP489_MULTI_PHASE_INIT
static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
static int __pyx_pymod_exec_uguugl(PyObject* module); /*proto*/
static PyModuleDef_Slot __pyx_moduledef_slots[] = {
  {Py_mod_create, (void*)__pyx_pymod_create},
  {Py_mod_exec, (void*)__pyx_pymod_exec_uguugl},
  {0, NULL}
};
#endif

static struct PyModuleDef __pyx_moduledef = {
    PyModuleDef_HEAD_INIT,
    "uguugl",
    0, /* m_doc */
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    0, /* m_size */
  #else
    -1, /* m_size */
  #endif
    __pyx_methods /* m_methods */,
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    __pyx_moduledef_slots, /* m_slots */
  #else
    NULL, /* m_reload */
  #endif
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif

static __Pyx_StringTabEntry __pyx_string_tab[] = {
  {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
  {&__pyx_n_s_enable_check_error, __pyx_k_enable_check_error, sizeof(__pyx_k_enable_check_error), 0, 0, 1, 1},
  {&__pyx_n_s_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 0, 1, 1},
  {&__pyx_n_s_get_error, __pyx_k_get_error, sizeof(__pyx_k_get_error), 0, 0, 1, 1},
  {&__pyx_n_b_glActiveTexture, __pyx_k_glActiveTexture, sizeof(__pyx_k_glActiveTexture), 0, 0, 0, 1},
  {&__pyx_n_s_glActiveTexture, __pyx_k_glActiveTexture, sizeof(__pyx_k_glActiveTexture), 0, 0, 1, 1},
  {&__pyx_n_b_glActiveTextureARB, __pyx_k_glActiveTextureARB, sizeof(__pyx_k_glActiveTextureARB), 0, 0, 0, 1},
  {&__pyx_n_b_glAttachShader, __pyx_k_glAttachShader, sizeof(__pyx_k_glAttachShader), 0, 0, 0, 1},
  {&__pyx_n_s_glAttachShader, __pyx_k_glAttachShader, sizeof(__pyx_k_glAttachShader), 0, 0, 1, 1},
  {&__pyx_n_b_glBindAttribLocation, __pyx_k_glBindAttribLocation, sizeof(__pyx_k_glBindAttribLocation), 0, 0, 0, 1},
  {&__pyx_n_s_glBindAttribLocation, __pyx_k_glBindAttribLocation, sizeof(__pyx_k_glBindAttribLocation), 0, 0, 1, 1},
  {&__pyx_n_b_glBindAttribLocationARB, __pyx_k_glBindAttribLocationARB, sizeof(__pyx_k_glBindAttribLocationARB), 0, 0, 0, 1},
  {&__pyx_n_b_glBindBuffer, __pyx_k_glBindBuffer, sizeof(__pyx_k_glBindBuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glBindBuffer, __pyx_k_glBindBuffer, sizeof(__pyx_k_glBindBuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glBindBufferARB, __pyx_k_glBindBufferARB, sizeof(__pyx_k_glBindBufferARB), 0, 0, 0, 1},
  {&__pyx_n_b_glBindFramebuffer, __pyx_k_glBindFramebuffer, sizeof(__pyx_k_glBindFramebuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glBindFramebuffer, __pyx_k_glBindFramebuffer, sizeof(__pyx_k_glBindFramebuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glBindRenderbuffer, __pyx_k_glBindRenderbuffer, sizeof(__pyx_k_glBindRenderbuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glBindRenderbuffer, __pyx_k_glBindRenderbuffer, sizeof(__pyx_k_glBindRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glBindTexture, __pyx_k_glBindTexture, sizeof(__pyx_k_glBindTexture), 0, 0, 0, 1},
  {&__pyx_n_s_glBindTexture, __pyx_k_glBindTexture, sizeof(__pyx_k_glBindTexture), 0, 0, 1, 1},
  {&__pyx_n_b_glBindTextureEXT, __pyx_k_glBindTextureEXT, sizeof(__pyx_k_glBindTextureEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glBlendColor, __pyx_k_glBlendColor, sizeof(__pyx_k_glBlendColor), 0, 0, 0, 1},
  {&__pyx_n_s_glBlendColor, __pyx_k_glBlendColor, sizeof(__pyx_k_glBlendColor), 0, 0, 1, 1},
  {&__pyx_n_b_glBlendColorEXT, __pyx_k_glBlendColorEXT, sizeof(__pyx_k_glBlendColorEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glBlendEquation, __pyx_k_glBlendEquation, sizeof(__pyx_k_glBlendEquation), 0, 0, 0, 1},
  {&__pyx_n_s_glBlendEquation, __pyx_k_glBlendEquation, sizeof(__pyx_k_glBlendEquation), 0, 0, 1, 1},
  {&__pyx_n_b_glBlendEquationEXT, __pyx_k_glBlendEquationEXT, sizeof(__pyx_k_glBlendEquationEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glBlendEquationSeparate, __pyx_k_glBlendEquationSeparate, sizeof(__pyx_k_glBlendEquationSeparate), 0, 0, 0, 1},
  {&__pyx_n_s_glBlendEquationSeparate, __pyx_k_glBlendEquationSeparate, sizeof(__pyx_k_glBlendEquationSeparate), 0, 0, 1, 1},
  {&__pyx_n_b_glBlendEquationSeparateEXT, __pyx_k_glBlendEquationSeparateEXT, sizeof(__pyx_k_glBlendEquationSeparateEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glBlendFunc, __pyx_k_glBlendFunc, sizeof(__pyx_k_glBlendFunc), 0, 0, 0, 1},
  {&__pyx_n_s_glBlendFunc, __pyx_k_glBlendFunc, sizeof(__pyx_k_glBlendFunc), 0, 0, 1, 1},
  {&__pyx_n_b_glBlendFuncSeparate, __pyx_k_glBlendFuncSeparate, sizeof(__pyx_k_glBlendFuncSeparate), 0, 0, 0, 1},
  {&__pyx_n_s_glBlendFuncSeparate, __pyx_k_glBlendFuncSeparate, sizeof(__pyx_k_glBlendFuncSeparate), 0, 0, 1, 1},
  {&__pyx_n_b_glBlendFuncSeparateEXT, __pyx_k_glBlendFuncSeparateEXT, sizeof(__pyx_k_glBlendFuncSeparateEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glBlendFuncSeparateINGR, __pyx_k_glBlendFuncSeparateINGR, sizeof(__pyx_k_glBlendFuncSeparateINGR), 0, 0, 0, 1},
  {&__pyx_n_b_glBufferData, __pyx_k_glBufferData, sizeof(__pyx_k_glBufferData), 0, 0, 0, 1},
  {&__pyx_n_s_glBufferData, __pyx_k_glBufferData, sizeof(__pyx_k_glBufferData), 0, 0, 1, 1},
  {&__pyx_n_b_glBufferDataARB, __pyx_k_glBufferDataARB, sizeof(__pyx_k_glBufferDataARB), 0, 0, 0, 1},
  {&__pyx_n_b_glBufferSubData, __pyx_k_glBufferSubData, sizeof(__pyx_k_glBufferSubData), 0, 0, 0, 1},
  {&__pyx_n_s_glBufferSubData, __pyx_k_glBufferSubData, sizeof(__pyx_k_glBufferSubData), 0, 0, 1, 1},
  {&__pyx_n_b_glBufferSubDataARB, __pyx_k_glBufferSubDataARB, sizeof(__pyx_k_glBufferSubDataARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCheckFramebufferStatus, __pyx_k_glCheckFramebufferStatus, sizeof(__pyx_k_glCheckFramebufferStatus), 0, 0, 0, 1},
  {&__pyx_n_s_glCheckFramebufferStatus, __pyx_k_glCheckFramebufferStatus, sizeof(__pyx_k_glCheckFramebufferStatus), 0, 0, 1, 1},
  {&__pyx_n_b_glCheckFramebufferStatusEXT, __pyx_k_glCheckFramebufferStatusEXT, sizeof(__pyx_k_glCheckFramebufferStatusEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glClear, __pyx_k_glClear, sizeof(__pyx_k_glClear), 0, 0, 0, 1},
  {&__pyx_n_s_glClear, __pyx_k_glClear, sizeof(__pyx_k_glClear), 0, 0, 1, 1},
  {&__pyx_n_b_glClearColor, __pyx_k_glClearColor, sizeof(__pyx_k_glClearColor), 0, 0, 0, 1},
  {&__pyx_n_s_glClearColor, __pyx_k_glClearColor, sizeof(__pyx_k_glClearColor), 0, 0, 1, 1},
  {&__pyx_n_b_glClearStencil, __pyx_k_glClearStencil, sizeof(__pyx_k_glClearStencil), 0, 0, 0, 1},
  {&__pyx_n_s_glClearStencil, __pyx_k_glClearStencil, sizeof(__pyx_k_glClearStencil), 0, 0, 1, 1},
  {&__pyx_n_b_glColorMask, __pyx_k_glColorMask, sizeof(__pyx_k_glColorMask), 0, 0, 0, 1},
  {&__pyx_n_s_glColorMask, __pyx_k_glColorMask, sizeof(__pyx_k_glColorMask), 0, 0, 1, 1},
  {&__pyx_n_b_glCompileShader, __pyx_k_glCompileShader, sizeof(__pyx_k_glCompileShader), 0, 0, 0, 1},
  {&__pyx_n_s_glCompileShader, __pyx_k_glCompileShader, sizeof(__pyx_k_glCompileShader), 0, 0, 1, 1},
  {&__pyx_n_b_glCompileShaderARB, __pyx_k_glCompileShaderARB, sizeof(__pyx_k_glCompileShaderARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCompressedTexImage2D, __pyx_k_glCompressedTexImage2D, sizeof(__pyx_k_glCompressedTexImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glCompressedTexImage2D, __pyx_k_glCompressedTexImage2D, sizeof(__pyx_k_glCompressedTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glCompressedTexImage2DARB, __pyx_k_glCompressedTexImage2DARB, sizeof(__pyx_k_glCompressedTexImage2DARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCompressedTexSubImage2D, __pyx_k_glCompressedTexSubImage2D, sizeof(__pyx_k_glCompressedTexSubImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glCompressedTexSubImage2D, __pyx_k_glCompressedTexSubImage2D, sizeof(__pyx_k_glCompressedTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glCompressedTexSubImage2DARB, __pyx_k_glCompressedTexSubImage2DARB, sizeof(__pyx_k_glCompressedTexSubImage2DARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCopyTexImage2D, __pyx_k_glCopyTexImage2D, sizeof(__pyx_k_glCopyTexImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glCopyTexImage2D, __pyx_k_glCopyTexImage2D, sizeof(__pyx_k_glCopyTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glCopyTexImage2DEXT, __pyx_k_glCopyTexImage2DEXT, sizeof(__pyx_k_glCopyTexImage2DEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glCopyTexSubImage2D, __pyx_k_glCopyTexSubImage2D, sizeof(__pyx_k_glCopyTexSubImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glCopyTexSubImage2D, __pyx_k_glCopyTexSubImage2D, sizeof(__pyx_k_glCopyTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glCopyTexSubImage2DEXT, __pyx_k_glCopyTexSubImage2DEXT, sizeof(__pyx_k_glCopyTexSubImage2DEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glCreateProgram, __pyx_k_glCreateProgram, sizeof(__pyx_k_glCreateProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glCreateProgram, __pyx_k_glCreateProgram, sizeof(__pyx_k_glCreateProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glCreateProgramObjectARB, __pyx_k_glCreateProgramObjectARB, sizeof(__pyx_k_glCreateProgramObjectARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCreateShader, __pyx_k_glCreateShader, sizeof(__pyx_k_glCreateShader), 0, 0, 0, 1},
  {&__pyx_n_s_glCreateShader, __pyx_k_glCreateShader, sizeof(__pyx_k_glCreateShader), 0, 0, 1, 1},
  {&__pyx_n_b_glCreateShaderObjectARB, __pyx_k_glCreateShaderObjectARB, sizeof(__pyx_k_glCreateShaderObjectARB), 0, 0, 0, 1},
  {&__pyx_n_b_glCullFace, __pyx_k_glCullFace, sizeof(__pyx_k_glCullFace), 0, 0, 0, 1},
  {&__pyx_n_s_glCullFace, __pyx_k_glCullFace, sizeof(__pyx_k_glCullFace), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteBuffers, __pyx_k_glDeleteBuffers, sizeof(__pyx_k_glDeleteBuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteBuffers, __pyx_k_glDeleteBuffers, sizeof(__pyx_k_glDeleteBuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteBuffersARB, __pyx_k_glDeleteBuffersARB, sizeof(__pyx_k_glDeleteBuffersARB), 0, 0, 0, 1},
  {&__pyx_n_b_glDeleteFramebuffers, __pyx_k_glDeleteFramebuffers, sizeof(__pyx_k_glDeleteFramebuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteFramebuffers, __pyx_k_glDeleteFramebuffers, sizeof(__pyx_k_glDeleteFramebuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteFramebuffersEXT, __pyx_k_glDeleteFramebuffersEXT, sizeof(__pyx_k_glDeleteFramebuffersEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glDeleteProgram, __pyx_k_glDeleteProgram, sizeof(__pyx_k_glDeleteProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteProgram, __pyx_k_glDeleteProgram, sizeof(__pyx_k_glDeleteProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteRenderbuffers, __pyx_k_glDeleteRenderbuffers, sizeof(__pyx_k_glDeleteRenderbuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteRenderbuffers, __pyx_k_glDeleteRenderbuffers, sizeof(__pyx_k_glDeleteRenderbuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteRenderbuffersEXT, __pyx_k_glDeleteRenderbuffersEXT, sizeof(__pyx_k_glDeleteRenderbuffersEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glDeleteShader, __pyx_k_glDeleteShader, sizeof(__pyx_k_glDeleteShader), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteShader, __pyx_k_glDeleteShader, sizeof(__pyx_k_glDeleteShader), 0, 0, 1, 1},
  {&__pyx_n_b_glDeleteTextures, __pyx_k_glDeleteTextures, sizeof(__pyx_k_glDeleteTextures), 0, 0, 0, 1},
  {&__pyx_n_s_glDeleteTextures, __pyx_k_glDeleteTextures, sizeof(__pyx_k_glDeleteTextures), 0, 0, 1, 1},
  {&__pyx_n_b_glDepthFunc, __pyx_k_glDepthFunc, sizeof(__pyx_k_glDepthFunc), 0, 0, 0, 1},
  {&__pyx_n_s_glDepthFunc, __pyx_k_glDepthFunc, sizeof(__pyx_k_glDepthFunc), 0, 0, 1, 1},
  {&__pyx_n_b_glDepthMask, __pyx_k_glDepthMask, sizeof(__pyx_k_glDepthMask), 0, 0, 0, 1},
  {&__pyx_n_s_glDepthMask, __pyx_k_glDepthMask, sizeof(__pyx_k_glDepthMask), 0, 0, 1, 1},
  {&__pyx_n_b_glDetachShader, __pyx_k_glDetachShader, sizeof(__pyx_k_glDetachShader), 0, 0, 0, 1},
  {&__pyx_n_s_glDetachShader, __pyx_k_glDetachShader, sizeof(__pyx_k_glDetachShader), 0, 0, 1, 1},
  {&__pyx_n_b_glDisable, __pyx_k_glDisable, sizeof(__pyx_k_glDisable), 0, 0, 0, 1},
  {&__pyx_n_s_glDisable, __pyx_k_glDisable, sizeof(__pyx_k_glDisable), 0, 0, 1, 1},
  {&__pyx_n_b_glDisableVertexAttribArray, __pyx_k_glDisableVertexAttribArray, sizeof(__pyx_k_glDisableVertexAttribArray), 0, 0, 0, 1},
  {&__pyx_n_s_glDisableVertexAttribArray, __pyx_k_glDisableVertexAttribArray, sizeof(__pyx_k_glDisableVertexAttribArray), 0, 0, 1, 1},
  {&__pyx_n_b_glDisableVertexAttribArrayARB, __pyx_k_glDisableVertexAttribArrayARB, sizeof(__pyx_k_glDisableVertexAttribArrayARB), 0, 0, 0, 1},
  {&__pyx_n_b_glDrawArrays, __pyx_k_glDrawArrays, sizeof(__pyx_k_glDrawArrays), 0, 0, 0, 1},
  {&__pyx_n_s_glDrawArrays, __pyx_k_glDrawArrays, sizeof(__pyx_k_glDrawArrays), 0, 0, 1, 1},
  {&__pyx_n_b_glDrawArraysEXT, __pyx_k_glDrawArraysEXT, sizeof(__pyx_k_glDrawArraysEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glDrawElements, __pyx_k_glDrawElements, sizeof(__pyx_k_glDrawElements), 0, 0, 0, 1},
  {&__pyx_n_s_glDrawElements, __pyx_k_glDrawElements, sizeof(__pyx_k_glDrawElements), 0, 0, 1, 1},
  {&__pyx_n_b_glEnable, __pyx_k_glEnable, sizeof(__pyx_k_glEnable), 0, 0, 0, 1},
  {&__pyx_n_s_glEnable, __pyx_k_glEnable, sizeof(__pyx_k_glEnable), 0, 0, 1, 1},
  {&__pyx_n_b_glEnableVertexAttribArray, __pyx_k_glEnableVertexAttribArray, sizeof(__pyx_k_glEnableVertexAttribArray), 0, 0, 0, 1},
  {&__pyx_n_s_glEnableVertexAttribArray, __pyx_k_glEnableVertexAttribArray, sizeof(__pyx_k_glEnableVertexAttribArray), 0, 0, 1, 1},
  {&__pyx_n_b_glEnableVertexAttribArrayARB, __pyx_k_glEnableVertexAttribArrayARB, sizeof(__pyx_k_glEnableVertexAttribArrayARB), 0, 0, 0, 1},
  {&__pyx_n_b_glFinish, __pyx_k_glFinish, sizeof(__pyx_k_glFinish), 0, 0, 0, 1},
  {&__pyx_n_s_glFinish, __pyx_k_glFinish, sizeof(__pyx_k_glFinish), 0, 0, 1, 1},
  {&__pyx_n_b_glFlush, __pyx_k_glFlush, sizeof(__pyx_k_glFlush), 0, 0, 0, 1},
  {&__pyx_n_s_glFlush, __pyx_k_glFlush, sizeof(__pyx_k_glFlush), 0, 0, 1, 1},
  {&__pyx_n_b_glFramebufferRenderbuffer, __pyx_k_glFramebufferRenderbuffer, sizeof(__pyx_k_glFramebufferRenderbuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glFramebufferRenderbuffer, __pyx_k_glFramebufferRenderbuffer, sizeof(__pyx_k_glFramebufferRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glFramebufferRenderbufferEXT, __pyx_k_glFramebufferRenderbufferEXT, sizeof(__pyx_k_glFramebufferRenderbufferEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glFramebufferTexture2D, __pyx_k_glFramebufferTexture2D, sizeof(__pyx_k_glFramebufferTexture2D), 0, 0, 0, 1},
  {&__pyx_n_s_glFramebufferTexture2D, __pyx_k_glFramebufferTexture2D, sizeof(__pyx_k_glFramebufferTexture2D), 0, 0, 1, 1},
  {&__pyx_n_b_glFramebufferTexture2DEXT, __pyx_k_glFramebufferTexture2DEXT, sizeof(__pyx_k_glFramebufferTexture2DEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glFrontFace, __pyx_k_glFrontFace, sizeof(__pyx_k_glFrontFace), 0, 0, 0, 1},
  {&__pyx_n_s_glFrontFace, __pyx_k_glFrontFace, sizeof(__pyx_k_glFrontFace), 0, 0, 1, 1},
  {&__pyx_n_b_glGenBuffers, __pyx_k_glGenBuffers, sizeof(__pyx_k_glGenBuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glGenBuffers, __pyx_k_glGenBuffers, sizeof(__pyx_k_glGenBuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glGenBuffersARB, __pyx_k_glGenBuffersARB, sizeof(__pyx_k_glGenBuffersARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGenFramebuffers, __pyx_k_glGenFramebuffers, sizeof(__pyx_k_glGenFramebuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glGenFramebuffers, __pyx_k_glGenFramebuffers, sizeof(__pyx_k_glGenFramebuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glGenFramebuffersEXT, __pyx_k_glGenFramebuffersEXT, sizeof(__pyx_k_glGenFramebuffersEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glGenRenderbuffers, __pyx_k_glGenRenderbuffers, sizeof(__pyx_k_glGenRenderbuffers), 0, 0, 0, 1},
  {&__pyx_n_s_glGenRenderbuffers, __pyx_k_glGenRenderbuffers, sizeof(__pyx_k_glGenRenderbuffers), 0, 0, 1, 1},
  {&__pyx_n_b_glGenRenderbuffersEXT, __pyx_k_glGenRenderbuffersEXT, sizeof(__pyx_k_glGenRenderbuffersEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glGenTextures, __pyx_k_glGenTextures, sizeof(__pyx_k_glGenTextures), 0, 0, 0, 1},
  {&__pyx_n_s_glGenTextures, __pyx_k_glGenTextures, sizeof(__pyx_k_glGenTextures), 0, 0, 1, 1},
  {&__pyx_n_b_glGenerateMipmap, __pyx_k_glGenerateMipmap, sizeof(__pyx_k_glGenerateMipmap), 0, 0, 0, 1},
  {&__pyx_n_s_glGenerateMipmap, __pyx_k_glGenerateMipmap, sizeof(__pyx_k_glGenerateMipmap), 0, 0, 1, 1},
  {&__pyx_n_b_glGenerateMipmapEXT, __pyx_k_glGenerateMipmapEXT, sizeof(__pyx_k_glGenerateMipmapEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glGetActiveAttrib, __pyx_k_glGetActiveAttrib, sizeof(__pyx_k_glGetActiveAttrib), 0, 0, 0, 1},
  {&__pyx_n_s_glGetActiveAttrib, __pyx_k_glGetActiveAttrib, sizeof(__pyx_k_glGetActiveAttrib), 0, 0, 1, 1},
  {&__pyx_n_b_glGetActiveAttribARB, __pyx_k_glGetActiveAttribARB, sizeof(__pyx_k_glGetActiveAttribARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetActiveUniform, __pyx_k_glGetActiveUniform, sizeof(__pyx_k_glGetActiveUniform), 0, 0, 0, 1},
  {&__pyx_n_s_glGetActiveUniform, __pyx_k_glGetActiveUniform, sizeof(__pyx_k_glGetActiveUniform), 0, 0, 1, 1},
  {&__pyx_n_b_glGetActiveUniformARB, __pyx_k_glGetActiveUniformARB, sizeof(__pyx_k_glGetActiveUniformARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetAttachedShaders, __pyx_k_glGetAttachedShaders, sizeof(__pyx_k_glGetAttachedShaders), 0, 0, 0, 1},
  {&__pyx_n_s_glGetAttachedShaders, __pyx_k_glGetAttachedShaders, sizeof(__pyx_k_glGetAttachedShaders), 0, 0, 1, 1},
  {&__pyx_n_b_glGetAttribLocation, __pyx_k_glGetAttribLocation, sizeof(__pyx_k_glGetAttribLocation), 0, 0, 0, 1},
  {&__pyx_n_s_glGetAttribLocation, __pyx_k_glGetAttribLocation, sizeof(__pyx_k_glGetAttribLocation), 0, 0, 1, 1},
  {&__pyx_n_b_glGetAttribLocationARB, __pyx_k_glGetAttribLocationARB, sizeof(__pyx_k_glGetAttribLocationARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetBooleanv, __pyx_k_glGetBooleanv, sizeof(__pyx_k_glGetBooleanv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetBooleanv, __pyx_k_glGetBooleanv, sizeof(__pyx_k_glGetBooleanv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetBufferParameteriv, __pyx_k_glGetBufferParameteriv, sizeof(__pyx_k_glGetBufferParameteriv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetBufferParameteriv, __pyx_k_glGetBufferParameteriv, sizeof(__pyx_k_glGetBufferParameteriv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetBufferParameterivARB, __pyx_k_glGetBufferParameterivARB, sizeof(__pyx_k_glGetBufferParameterivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetError, __pyx_k_glGetError, sizeof(__pyx_k_glGetError), 0, 0, 0, 1},
  {&__pyx_n_s_glGetError, __pyx_k_glGetError, sizeof(__pyx_k_glGetError), 0, 0, 1, 1},
  {&__pyx_n_b_glGetFloatv, __pyx_k_glGetFloatv, sizeof(__pyx_k_glGetFloatv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetFloatv, __pyx_k_glGetFloatv, sizeof(__pyx_k_glGetFloatv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetFramebufferAttachmentParame, __pyx_k_glGetFramebufferAttachmentParame, sizeof(__pyx_k_glGetFramebufferAttachmentParame), 0, 0, 0, 1},
  {&__pyx_n_s_glGetFramebufferAttachmentParame, __pyx_k_glGetFramebufferAttachmentParame, sizeof(__pyx_k_glGetFramebufferAttachmentParame), 0, 0, 1, 1},
  {&__pyx_n_b_glGetFramebufferAttachmentParame_2, __pyx_k_glGetFramebufferAttachmentParame_2, sizeof(__pyx_k_glGetFramebufferAttachmentParame_2), 0, 0, 0, 1},
  {&__pyx_n_b_glGetIntegerv, __pyx_k_glGetIntegerv, sizeof(__pyx_k_glGetIntegerv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetIntegerv, __pyx_k_glGetIntegerv, sizeof(__pyx_k_glGetIntegerv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetProgramInfoLog, __pyx_k_glGetProgramInfoLog, sizeof(__pyx_k_glGetProgramInfoLog), 0, 0, 0, 1},
  {&__pyx_n_s_glGetProgramInfoLog, __pyx_k_glGetProgramInfoLog, sizeof(__pyx_k_glGetProgramInfoLog), 0, 0, 1, 1},
  {&__pyx_n_b_glGetProgramiv, __pyx_k_glGetProgramiv, sizeof(__pyx_k_glGetProgramiv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetProgramiv, __pyx_k_glGetProgramiv, sizeof(__pyx_k_glGetProgramiv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetRenderbufferParameteriv, __pyx_k_glGetRenderbufferParameteriv, sizeof(__pyx_k_glGetRenderbufferParameteriv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetRenderbufferParameteriv, __pyx_k_glGetRenderbufferParameteriv, sizeof(__pyx_k_glGetRenderbufferParameteriv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetRenderbufferParameterivEXT, __pyx_k_glGetRenderbufferParameterivEXT, sizeof(__pyx_k_glGetRenderbufferParameterivEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glGetShaderInfoLog, __pyx_k_glGetShaderInfoLog, sizeof(__pyx_k_glGetShaderInfoLog), 0, 0, 0, 1},
  {&__pyx_n_s_glGetShaderInfoLog, __pyx_k_glGetShaderInfoLog, sizeof(__pyx_k_glGetShaderInfoLog), 0, 0, 1, 1},
  {&__pyx_n_b_glGetShaderSource, __pyx_k_glGetShaderSource, sizeof(__pyx_k_glGetShaderSource), 0, 0, 0, 1},
  {&__pyx_n_s_glGetShaderSource, __pyx_k_glGetShaderSource, sizeof(__pyx_k_glGetShaderSource), 0, 0, 1, 1},
  {&__pyx_n_b_glGetShaderSourceARB, __pyx_k_glGetShaderSourceARB, sizeof(__pyx_k_glGetShaderSourceARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetShaderiv, __pyx_k_glGetShaderiv, sizeof(__pyx_k_glGetShaderiv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetShaderiv, __pyx_k_glGetShaderiv, sizeof(__pyx_k_glGetShaderiv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetString, __pyx_k_glGetString, sizeof(__pyx_k_glGetString), 0, 0, 0, 1},
  {&__pyx_n_s_glGetString, __pyx_k_glGetString, sizeof(__pyx_k_glGetString), 0, 0, 1, 1},
  {&__pyx_n_b_glGetTexParameterfv, __pyx_k_glGetTexParameterfv, sizeof(__pyx_k_glGetTexParameterfv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetTexParameterfv, __pyx_k_glGetTexParameterfv, sizeof(__pyx_k_glGetTexParameterfv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetTexParameteriv, __pyx_k_glGetTexParameteriv, sizeof(__pyx_k_glGetTexParameteriv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetTexParameteriv, __pyx_k_glGetTexParameteriv, sizeof(__pyx_k_glGetTexParameteriv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetUniformLocation, __pyx_k_glGetUniformLocation, sizeof(__pyx_k_glGetUniformLocation), 0, 0, 0, 1},
  {&__pyx_n_s_glGetUniformLocation, __pyx_k_glGetUniformLocation, sizeof(__pyx_k_glGetUniformLocation), 0, 0, 1, 1},
  {&__pyx_n_b_glGetUniformLocationARB, __pyx_k_glGetUniformLocationARB, sizeof(__pyx_k_glGetUniformLocationARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetUniformfv, __pyx_k_glGetUniformfv, sizeof(__pyx_k_glGetUniformfv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetUniformfv, __pyx_k_glGetUniformfv, sizeof(__pyx_k_glGetUniformfv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetUniformfvARB, __pyx_k_glGetUniformfvARB, sizeof(__pyx_k_glGetUniformfvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetUniformiv, __pyx_k_glGetUniformiv, sizeof(__pyx_k_glGetUniformiv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetUniformiv, __pyx_k_glGetUniformiv, sizeof(__pyx_k_glGetUniformiv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetUniformivARB, __pyx_k_glGetUniformivARB, sizeof(__pyx_k_glGetUniformivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribPointerv, __pyx_k_glGetVertexAttribPointerv, sizeof(__pyx_k_glGetVertexAttribPointerv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetVertexAttribPointerv, __pyx_k_glGetVertexAttribPointerv, sizeof(__pyx_k_glGetVertexAttribPointerv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetVertexAttribPointervARB, __pyx_k_glGetVertexAttribPointervARB, sizeof(__pyx_k_glGetVertexAttribPointervARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribPointervNV, __pyx_k_glGetVertexAttribPointervNV, sizeof(__pyx_k_glGetVertexAttribPointervNV), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribfv, __pyx_k_glGetVertexAttribfv, sizeof(__pyx_k_glGetVertexAttribfv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetVertexAttribfv, __pyx_k_glGetVertexAttribfv, sizeof(__pyx_k_glGetVertexAttribfv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetVertexAttribfvARB, __pyx_k_glGetVertexAttribfvARB, sizeof(__pyx_k_glGetVertexAttribfvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribfvNV, __pyx_k_glGetVertexAttribfvNV, sizeof(__pyx_k_glGetVertexAttribfvNV), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribiv, __pyx_k_glGetVertexAttribiv, sizeof(__pyx_k_glGetVertexAttribiv), 0, 0, 0, 1},
  {&__pyx_n_s_glGetVertexAttribiv, __pyx_k_glGetVertexAttribiv, sizeof(__pyx_k_glGetVertexAttribiv), 0, 0, 1, 1},
  {&__pyx_n_b_glGetVertexAttribivARB, __pyx_k_glGetVertexAttribivARB, sizeof(__pyx_k_glGetVertexAttribivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glGetVertexAttribivNV, __pyx_k_glGetVertexAttribivNV, sizeof(__pyx_k_glGetVertexAttribivNV), 0, 0, 0, 1},
  {&__pyx_n_b_glHint, __pyx_k_glHint, sizeof(__pyx_k_glHint), 0, 0, 0, 1},
  {&__pyx_n_s_glHint, __pyx_k_glHint, sizeof(__pyx_k_glHint), 0, 0, 1, 1},
  {&__pyx_n_b_glIsBuffer, __pyx_k_glIsBuffer, sizeof(__pyx_k_glIsBuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glIsBuffer, __pyx_k_glIsBuffer, sizeof(__pyx_k_glIsBuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glIsBufferARB, __pyx_k_glIsBufferARB, sizeof(__pyx_k_glIsBufferARB), 0, 0, 0, 1},
  {&__pyx_n_b_glIsEnabled, __pyx_k_glIsEnabled, sizeof(__pyx_k_glIsEnabled), 0, 0, 0, 1},
  {&__pyx_n_s_glIsEnabled, __pyx_k_glIsEnabled, sizeof(__pyx_k_glIsEnabled), 0, 0, 1, 1},
  {&__pyx_n_b_glIsFramebuffer, __pyx_k_glIsFramebuffer, sizeof(__pyx_k_glIsFramebuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glIsFramebuffer, __pyx_k_glIsFramebuffer, sizeof(__pyx_k_glIsFramebuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glIsFramebufferEXT, __pyx_k_glIsFramebufferEXT, sizeof(__pyx_k_glIsFramebufferEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glIsProgram, __pyx_k_glIsProgram, sizeof(__pyx_k_glIsProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glIsProgram, __pyx_k_glIsProgram, sizeof(__pyx_k_glIsProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glIsRenderbuffer, __pyx_k_glIsRenderbuffer, sizeof(__pyx_k_glIsRenderbuffer), 0, 0, 0, 1},
  {&__pyx_n_s_glIsRenderbuffer, __pyx_k_glIsRenderbuffer, sizeof(__pyx_k_glIsRenderbuffer), 0, 0, 1, 1},
  {&__pyx_n_b_glIsRenderbufferEXT, __pyx_k_glIsRenderbufferEXT, sizeof(__pyx_k_glIsRenderbufferEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glIsShader, __pyx_k_glIsShader, sizeof(__pyx_k_glIsShader), 0, 0, 0, 1},
  {&__pyx_n_s_glIsShader, __pyx_k_glIsShader, sizeof(__pyx_k_glIsShader), 0, 0, 1, 1},
  {&__pyx_n_b_glIsTexture, __pyx_k_glIsTexture, sizeof(__pyx_k_glIsTexture), 0, 0, 0, 1},
  {&__pyx_n_s_glIsTexture, __pyx_k_glIsTexture, sizeof(__pyx_k_glIsTexture), 0, 0, 1, 1},
  {&__pyx_n_b_glLineWidth, __pyx_k_glLineWidth, sizeof(__pyx_k_glLineWidth), 0, 0, 0, 1},
  {&__pyx_n_s_glLineWidth, __pyx_k_glLineWidth, sizeof(__pyx_k_glLineWidth), 0, 0, 1, 1},
  {&__pyx_n_b_glLinkProgram, __pyx_k_glLinkProgram, sizeof(__pyx_k_glLinkProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glLinkProgram, __pyx_k_glLinkProgram, sizeof(__pyx_k_glLinkProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glLinkProgramARB, __pyx_k_glLinkProgramARB, sizeof(__pyx_k_glLinkProgramARB), 0, 0, 0, 1},
  {&__pyx_n_b_glPixelStorei, __pyx_k_glPixelStorei, sizeof(__pyx_k_glPixelStorei), 0, 0, 0, 1},
  {&__pyx_n_s_glPixelStorei, __pyx_k_glPixelStorei, sizeof(__pyx_k_glPixelStorei), 0, 0, 1, 1},
  {&__pyx_n_b_glPolygonOffset, __pyx_k_glPolygonOffset, sizeof(__pyx_k_glPolygonOffset), 0, 0, 0, 1},
  {&__pyx_n_s_glPolygonOffset, __pyx_k_glPolygonOffset, sizeof(__pyx_k_glPolygonOffset), 0, 0, 1, 1},
  {&__pyx_n_b_glReadPixels, __pyx_k_glReadPixels, sizeof(__pyx_k_glReadPixels), 0, 0, 0, 1},
  {&__pyx_n_s_glReadPixels, __pyx_k_glReadPixels, sizeof(__pyx_k_glReadPixels), 0, 0, 1, 1},
  {&__pyx_n_b_glRenderbufferStorage, __pyx_k_glRenderbufferStorage, sizeof(__pyx_k_glRenderbufferStorage), 0, 0, 0, 1},
  {&__pyx_n_s_glRenderbufferStorage, __pyx_k_glRenderbufferStorage, sizeof(__pyx_k_glRenderbufferStorage), 0, 0, 1, 1},
  {&__pyx_n_b_glRenderbufferStorageEXT, __pyx_k_glRenderbufferStorageEXT, sizeof(__pyx_k_glRenderbufferStorageEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glSampleCoverage, __pyx_k_glSampleCoverage, sizeof(__pyx_k_glSampleCoverage), 0, 0, 0, 1},
  {&__pyx_n_s_glSampleCoverage, __pyx_k_glSampleCoverage, sizeof(__pyx_k_glSampleCoverage), 0, 0, 1, 1},
  {&__pyx_n_b_glSampleCoverageARB, __pyx_k_glSampleCoverageARB, sizeof(__pyx_k_glSampleCoverageARB), 0, 0, 0, 1},
  {&__pyx_n_b_glScissor, __pyx_k_glScissor, sizeof(__pyx_k_glScissor), 0, 0, 0, 1},
  {&__pyx_n_s_glScissor, __pyx_k_glScissor, sizeof(__pyx_k_glScissor), 0, 0, 1, 1},
  {&__pyx_n_b_glShaderSource, __pyx_k_glShaderSource, sizeof(__pyx_k_glShaderSource), 0, 0, 0, 1},
  {&__pyx_n_s_glShaderSource, __pyx_k_glShaderSource, sizeof(__pyx_k_glShaderSource), 0, 0, 1, 1},
  {&__pyx_n_b_glShaderSourceARB, __pyx_k_glShaderSourceARB, sizeof(__pyx_k_glShaderSourceARB), 0, 0, 0, 1},
  {&__pyx_n_b_glStencilFunc, __pyx_k_glStencilFunc, sizeof(__pyx_k_glStencilFunc), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilFunc, __pyx_k_glStencilFunc, sizeof(__pyx_k_glStencilFunc), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilFuncSeparate, __pyx_k_glStencilFuncSeparate, sizeof(__pyx_k_glStencilFuncSeparate), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilFuncSeparate, __pyx_k_glStencilFuncSeparate, sizeof(__pyx_k_glStencilFuncSeparate), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilMask, __pyx_k_glStencilMask, sizeof(__pyx_k_glStencilMask), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilMask, __pyx_k_glStencilMask, sizeof(__pyx_k_glStencilMask), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilMaskSeparate, __pyx_k_glStencilMaskSeparate, sizeof(__pyx_k_glStencilMaskSeparate), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilMaskSeparate, __pyx_k_glStencilMaskSeparate, sizeof(__pyx_k_glStencilMaskSeparate), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilOp, __pyx_k_glStencilOp, sizeof(__pyx_k_glStencilOp), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilOp, __pyx_k_glStencilOp, sizeof(__pyx_k_glStencilOp), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilOpSeparate, __pyx_k_glStencilOpSeparate, sizeof(__pyx_k_glStencilOpSeparate), 0, 0, 0, 1},
  {&__pyx_n_s_glStencilOpSeparate, __pyx_k_glStencilOpSeparate, sizeof(__pyx_k_glStencilOpSeparate), 0, 0, 1, 1},
  {&__pyx_n_b_glStencilOpSeparateATI, __pyx_k_glStencilOpSeparateATI, sizeof(__pyx_k_glStencilOpSeparateATI), 0, 0, 0, 1},
  {&__pyx_n_b_glTexImage2D, __pyx_k_glTexImage2D, sizeof(__pyx_k_glTexImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glTexImage2D, __pyx_k_glTexImage2D, sizeof(__pyx_k_glTexImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glTexParameterf, __pyx_k_glTexParameterf, sizeof(__pyx_k_glTexParameterf), 0, 0, 0, 1},
  {&__pyx_n_s_glTexParameterf, __pyx_k_glTexParameterf, sizeof(__pyx_k_glTexParameterf), 0, 0, 1, 1},
  {&__pyx_n_b_glTexParameterfv, __pyx_k_glTexParameterfv, sizeof(__pyx_k_glTexParameterfv), 0, 0, 0, 1},
  {&__pyx_n_s_glTexParameterfv, __pyx_k_glTexParameterfv, sizeof(__pyx_k_glTexParameterfv), 0, 0, 1, 1},
  {&__pyx_n_b_glTexParameteri, __pyx_k_glTexParameteri, sizeof(__pyx_k_glTexParameteri), 0, 0, 0, 1},
  {&__pyx_n_s_glTexParameteri, __pyx_k_glTexParameteri, sizeof(__pyx_k_glTexParameteri), 0, 0, 1, 1},
  {&__pyx_n_b_glTexParameteriv, __pyx_k_glTexParameteriv, sizeof(__pyx_k_glTexParameteriv), 0, 0, 0, 1},
  {&__pyx_n_s_glTexParameteriv, __pyx_k_glTexParameteriv, sizeof(__pyx_k_glTexParameteriv), 0, 0, 1, 1},
  {&__pyx_n_b_glTexSubImage2D, __pyx_k_glTexSubImage2D, sizeof(__pyx_k_glTexSubImage2D), 0, 0, 0, 1},
  {&__pyx_n_s_glTexSubImage2D, __pyx_k_glTexSubImage2D, sizeof(__pyx_k_glTexSubImage2D), 0, 0, 1, 1},
  {&__pyx_n_b_glTexSubImage2DEXT, __pyx_k_glTexSubImage2DEXT, sizeof(__pyx_k_glTexSubImage2DEXT), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform1f, __pyx_k_glUniform1f, sizeof(__pyx_k_glUniform1f), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform1f, __pyx_k_glUniform1f, sizeof(__pyx_k_glUniform1f), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform1fARB, __pyx_k_glUniform1fARB, sizeof(__pyx_k_glUniform1fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform1fv, __pyx_k_glUniform1fv, sizeof(__pyx_k_glUniform1fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform1fv, __pyx_k_glUniform1fv, sizeof(__pyx_k_glUniform1fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform1fvARB, __pyx_k_glUniform1fvARB, sizeof(__pyx_k_glUniform1fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform1i, __pyx_k_glUniform1i, sizeof(__pyx_k_glUniform1i), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform1i, __pyx_k_glUniform1i, sizeof(__pyx_k_glUniform1i), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform1iARB, __pyx_k_glUniform1iARB, sizeof(__pyx_k_glUniform1iARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform1iv, __pyx_k_glUniform1iv, sizeof(__pyx_k_glUniform1iv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform1iv, __pyx_k_glUniform1iv, sizeof(__pyx_k_glUniform1iv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform1ivARB, __pyx_k_glUniform1ivARB, sizeof(__pyx_k_glUniform1ivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform2f, __pyx_k_glUniform2f, sizeof(__pyx_k_glUniform2f), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform2f, __pyx_k_glUniform2f, sizeof(__pyx_k_glUniform2f), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform2fARB, __pyx_k_glUniform2fARB, sizeof(__pyx_k_glUniform2fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform2fv, __pyx_k_glUniform2fv, sizeof(__pyx_k_glUniform2fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform2fv, __pyx_k_glUniform2fv, sizeof(__pyx_k_glUniform2fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform2fvARB, __pyx_k_glUniform2fvARB, sizeof(__pyx_k_glUniform2fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform2i, __pyx_k_glUniform2i, sizeof(__pyx_k_glUniform2i), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform2i, __pyx_k_glUniform2i, sizeof(__pyx_k_glUniform2i), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform2iARB, __pyx_k_glUniform2iARB, sizeof(__pyx_k_glUniform2iARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform2iv, __pyx_k_glUniform2iv, sizeof(__pyx_k_glUniform2iv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform2iv, __pyx_k_glUniform2iv, sizeof(__pyx_k_glUniform2iv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform2ivARB, __pyx_k_glUniform2ivARB, sizeof(__pyx_k_glUniform2ivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform3f, __pyx_k_glUniform3f, sizeof(__pyx_k_glUniform3f), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform3f, __pyx_k_glUniform3f, sizeof(__pyx_k_glUniform3f), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform3fARB, __pyx_k_glUniform3fARB, sizeof(__pyx_k_glUniform3fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform3fv, __pyx_k_glUniform3fv, sizeof(__pyx_k_glUniform3fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform3fv, __pyx_k_glUniform3fv, sizeof(__pyx_k_glUniform3fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform3fvARB, __pyx_k_glUniform3fvARB, sizeof(__pyx_k_glUniform3fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform3i, __pyx_k_glUniform3i, sizeof(__pyx_k_glUniform3i), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform3i, __pyx_k_glUniform3i, sizeof(__pyx_k_glUniform3i), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform3iARB, __pyx_k_glUniform3iARB, sizeof(__pyx_k_glUniform3iARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform3iv, __pyx_k_glUniform3iv, sizeof(__pyx_k_glUniform3iv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform3iv, __pyx_k_glUniform3iv, sizeof(__pyx_k_glUniform3iv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform3ivARB, __pyx_k_glUniform3ivARB, sizeof(__pyx_k_glUniform3ivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform4f, __pyx_k_glUniform4f, sizeof(__pyx_k_glUniform4f), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform4f, __pyx_k_glUniform4f, sizeof(__pyx_k_glUniform4f), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform4fARB, __pyx_k_glUniform4fARB, sizeof(__pyx_k_glUniform4fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform4fv, __pyx_k_glUniform4fv, sizeof(__pyx_k_glUniform4fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform4fv, __pyx_k_glUniform4fv, sizeof(__pyx_k_glUniform4fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform4fvARB, __pyx_k_glUniform4fvARB, sizeof(__pyx_k_glUniform4fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform4i, __pyx_k_glUniform4i, sizeof(__pyx_k_glUniform4i), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform4i, __pyx_k_glUniform4i, sizeof(__pyx_k_glUniform4i), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform4iARB, __pyx_k_glUniform4iARB, sizeof(__pyx_k_glUniform4iARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniform4iv, __pyx_k_glUniform4iv, sizeof(__pyx_k_glUniform4iv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniform4iv, __pyx_k_glUniform4iv, sizeof(__pyx_k_glUniform4iv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniform4ivARB, __pyx_k_glUniform4ivARB, sizeof(__pyx_k_glUniform4ivARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniformMatrix2fv, __pyx_k_glUniformMatrix2fv, sizeof(__pyx_k_glUniformMatrix2fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniformMatrix2fv, __pyx_k_glUniformMatrix2fv, sizeof(__pyx_k_glUniformMatrix2fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniformMatrix2fvARB, __pyx_k_glUniformMatrix2fvARB, sizeof(__pyx_k_glUniformMatrix2fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniformMatrix3fv, __pyx_k_glUniformMatrix3fv, sizeof(__pyx_k_glUniformMatrix3fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniformMatrix3fv, __pyx_k_glUniformMatrix3fv, sizeof(__pyx_k_glUniformMatrix3fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniformMatrix3fvARB, __pyx_k_glUniformMatrix3fvARB, sizeof(__pyx_k_glUniformMatrix3fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUniformMatrix4fv, __pyx_k_glUniformMatrix4fv, sizeof(__pyx_k_glUniformMatrix4fv), 0, 0, 0, 1},
  {&__pyx_n_s_glUniformMatrix4fv, __pyx_k_glUniformMatrix4fv, sizeof(__pyx_k_glUniformMatrix4fv), 0, 0, 1, 1},
  {&__pyx_n_b_glUniformMatrix4fvARB, __pyx_k_glUniformMatrix4fvARB, sizeof(__pyx_k_glUniformMatrix4fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glUseProgram, __pyx_k_glUseProgram, sizeof(__pyx_k_glUseProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glUseProgram, __pyx_k_glUseProgram, sizeof(__pyx_k_glUseProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glUseProgramObjectARB, __pyx_k_glUseProgramObjectARB, sizeof(__pyx_k_glUseProgramObjectARB), 0, 0, 0, 1},
  {&__pyx_n_b_glValidateProgram, __pyx_k_glValidateProgram, sizeof(__pyx_k_glValidateProgram), 0, 0, 0, 1},
  {&__pyx_n_s_glValidateProgram, __pyx_k_glValidateProgram, sizeof(__pyx_k_glValidateProgram), 0, 0, 1, 1},
  {&__pyx_n_b_glValidateProgramARB, __pyx_k_glValidateProgramARB, sizeof(__pyx_k_glValidateProgramARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib1f, __pyx_k_glVertexAttrib1f, sizeof(__pyx_k_glVertexAttrib1f), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib1f, __pyx_k_glVertexAttrib1f, sizeof(__pyx_k_glVertexAttrib1f), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib1fARB, __pyx_k_glVertexAttrib1fARB, sizeof(__pyx_k_glVertexAttrib1fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib1fNV, __pyx_k_glVertexAttrib1fNV, sizeof(__pyx_k_glVertexAttrib1fNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib1fv, __pyx_k_glVertexAttrib1fv, sizeof(__pyx_k_glVertexAttrib1fv), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib1fv, __pyx_k_glVertexAttrib1fv, sizeof(__pyx_k_glVertexAttrib1fv), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib1fvARB, __pyx_k_glVertexAttrib1fvARB, sizeof(__pyx_k_glVertexAttrib1fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib1fvNV, __pyx_k_glVertexAttrib1fvNV, sizeof(__pyx_k_glVertexAttrib1fvNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib2f, __pyx_k_glVertexAttrib2f, sizeof(__pyx_k_glVertexAttrib2f), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib2f, __pyx_k_glVertexAttrib2f, sizeof(__pyx_k_glVertexAttrib2f), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib2fARB, __pyx_k_glVertexAttrib2fARB, sizeof(__pyx_k_glVertexAttrib2fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib2fNV, __pyx_k_glVertexAttrib2fNV, sizeof(__pyx_k_glVertexAttrib2fNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib2fv, __pyx_k_glVertexAttrib2fv, sizeof(__pyx_k_glVertexAttrib2fv), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib2fv, __pyx_k_glVertexAttrib2fv, sizeof(__pyx_k_glVertexAttrib2fv), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib2fvARB, __pyx_k_glVertexAttrib2fvARB, sizeof(__pyx_k_glVertexAttrib2fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib2fvNV, __pyx_k_glVertexAttrib2fvNV, sizeof(__pyx_k_glVertexAttrib2fvNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib3f, __pyx_k_glVertexAttrib3f, sizeof(__pyx_k_glVertexAttrib3f), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib3f, __pyx_k_glVertexAttrib3f, sizeof(__pyx_k_glVertexAttrib3f), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib3fARB, __pyx_k_glVertexAttrib3fARB, sizeof(__pyx_k_glVertexAttrib3fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib3fNV, __pyx_k_glVertexAttrib3fNV, sizeof(__pyx_k_glVertexAttrib3fNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib3fv, __pyx_k_glVertexAttrib3fv, sizeof(__pyx_k_glVertexAttrib3fv), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib3fv, __pyx_k_glVertexAttrib3fv, sizeof(__pyx_k_glVertexAttrib3fv), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib3fvARB, __pyx_k_glVertexAttrib3fvARB, sizeof(__pyx_k_glVertexAttrib3fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib3fvNV, __pyx_k_glVertexAttrib3fvNV, sizeof(__pyx_k_glVertexAttrib3fvNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib4f, __pyx_k_glVertexAttrib4f, sizeof(__pyx_k_glVertexAttrib4f), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib4f, __pyx_k_glVertexAttrib4f, sizeof(__pyx_k_glVertexAttrib4f), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib4fARB, __pyx_k_glVertexAttrib4fARB, sizeof(__pyx_k_glVertexAttrib4fARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib4fNV, __pyx_k_glVertexAttrib4fNV, sizeof(__pyx_k_glVertexAttrib4fNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib4fv, __pyx_k_glVertexAttrib4fv, sizeof(__pyx_k_glVertexAttrib4fv), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttrib4fv, __pyx_k_glVertexAttrib4fv, sizeof(__pyx_k_glVertexAttrib4fv), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttrib4fvARB, __pyx_k_glVertexAttrib4fvARB, sizeof(__pyx_k_glVertexAttrib4fvARB), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttrib4fvNV, __pyx_k_glVertexAttrib4fvNV, sizeof(__pyx_k_glVertexAttrib4fvNV), 0, 0, 0, 1},
  {&__pyx_n_b_glVertexAttribPointer, __pyx_k_glVertexAttribPointer, sizeof(__pyx_k_glVertexAttribPointer), 0, 0, 0, 1},
  {&__pyx_n_s_glVertexAttribPointer, __pyx_k_glVertexAttribPointer, sizeof(__pyx_k_glVertexAttribPointer), 0, 0, 1, 1},
  {&__pyx_n_b_glVertexAttribPointerARB, __pyx_k_glVertexAttribPointerARB, sizeof(__pyx_k_glVertexAttribPointerARB), 0, 0, 0, 1},
  {&__pyx_n_b_glViewport, __pyx_k_glViewport, sizeof(__pyx_k_glViewport), 0, 0, 0, 1},
  {&__pyx_n_s_glViewport, __pyx_k_glViewport, sizeof(__pyx_k_glViewport), 0, 0, 1, 1},
  {&__pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu, __pyx_k_home_tom_ab_renpy_renpy_gl2_ugu, sizeof(__pyx_k_home_tom_ab_renpy_renpy_gl2_ugu), 0, 0, 1, 0},
  {&__pyx_n_s_load, __pyx_k_load, sizeof(__pyx_k_load), 0, 0, 1, 1},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_kp_s_not_found, __pyx_k_not_found, sizeof(__pyx_k_not_found), 0, 0, 1, 0},
  {&__pyx_n_s_pyx_capi, __pyx_k_pyx_capi, sizeof(__pyx_k_pyx_capi), 0, 0, 1, 1},
  {&__pyx_n_s_renpy_gl2_uguugl, __pyx_k_renpy_gl2_uguugl, sizeof(__pyx_k_renpy_gl2_uguugl), 0, 0, 1, 1},
  {&__pyx_n_s_reset_error, __pyx_k_reset_error, sizeof(__pyx_k_reset_error), 0, 0, 1, 1},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  return 0;
}

static int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "renpy/gl2/uguugl.pyx":19
 * cdef GLenum error_code
 * 
 * def reset_error():             # <<<<<<<<<<<<<<
 *     """
 *     Resets the
 */
  __pyx_codeobj_ = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu, __pyx_n_s_reset_error, 19, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj_)) __PYX_ERR(0, 19, __pyx_L1_error)

  /* "renpy/gl2/uguugl.pyx":32
 * reset_error()
 * 
 * def get_error():             # <<<<<<<<<<<<<<
 * 
 *     if error_function != NULL:
 */
  __pyx_codeobj__2 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu, __pyx_n_s_get_error, 32, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__2)) __PYX_ERR(0, 32, __pyx_L1_error)

  /* "renpy/gl2/uguugl.pyx":1042
 *     check_error("glViewport")
 * 
 * def load():             # <<<<<<<<<<<<<<
 * 
 *     global real_glActiveTexture, glActiveTexture
 */
  __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu, __pyx_n_s_load, 1042, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) __PYX_ERR(0, 1042, __pyx_L1_error)

  /* "renpy/gl2/uguugl.pyx":1592
 *     glViewport = real_glViewport
 * 
 * def enable_check_error():             # <<<<<<<<<<<<<<
 *     global glActiveTexture
 *     glActiveTexture = check_glActiveTexture
 */
  __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_home_tom_ab_renpy_renpy_gl2_ugu, __pyx_n_s_enable_check_error, 1592, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(0, 1592, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_InitGlobals(void) {
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
  return 0;
  __pyx_L1_error:;
  return -1;
}

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC inituguugl(void); /*proto*/
PyMODINIT_FUNC inituguugl(void)
#else
PyMODINIT_FUNC PyInit_uguugl(void); /*proto*/
PyMODINIT_FUNC PyInit_uguugl(void)
#if CYTHON_PEP489_MULTI_PHASE_INIT
{
  return PyModuleDef_Init(&__pyx_moduledef);
}
static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name) {
    PyObject *value = PyObject_GetAttrString(spec, from_name);
    int result = 0;
    if (likely(value)) {
        result = PyDict_SetItemString(moddict, to_name, value);
        Py_DECREF(value);
    } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
        PyErr_Clear();
    } else {
        result = -1;
    }
    return result;
}
static PyObject* __pyx_pymod_create(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
    PyObject *module = NULL, *moddict, *modname;
    if (__pyx_m)
        return __Pyx_NewRef(__pyx_m);
    modname = PyObject_GetAttrString(spec, "name");
    if (unlikely(!modname)) goto bad;
    module = PyModule_NewObject(modname);
    Py_DECREF(modname);
    if (unlikely(!module)) goto bad;
    moddict = PyModule_GetDict(module);
    if (unlikely(!moddict)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__") < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__") < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__") < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__") < 0)) goto bad;
    return module;
bad:
    Py_XDECREF(module);
    return NULL;
}


static int __pyx_pymod_exec_uguugl(PyObject *__pyx_pyinit_module)
#endif
#endif
{
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  __Pyx_RefNannyDeclarations
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  if (__pyx_m && __pyx_m == __pyx_pyinit_module) return 0;
  #endif
  #if CYTHON_REFNANNY
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
  if (!__Pyx_RefNanny) {
      PyErr_Clear();
      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
      if (!__Pyx_RefNanny)
          Py_FatalError("failed to import 'refnanny' module");
  }
  #endif
  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit_uguugl(void)", 0);
  if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
  #ifdef __Pyx_CyFunction_USED
  if (__pyx_CyFunction_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Coroutine_USED
  if (__pyx_Coroutine_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_AsyncGen_USED
  if (__pyx_AsyncGen_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_StopAsyncIteration_USED
  if (__pyx_StopAsyncIteration_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  /*--- Library function declarations ---*/
  /*--- Threads initialization code ---*/
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
  #ifdef WITH_THREAD /* Python build with threading support? */
  PyEval_InitThreads();
  #endif
  #endif
  /*--- Module creation code ---*/
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  __pyx_m = __pyx_pyinit_module;
  Py_INCREF(__pyx_m);
  #else
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("uguugl", __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (unlikely(!__pyx_m)) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
  #if CYTHON_COMPILING_IN_PYPY
  Py_INCREF(__pyx_b);
  #endif
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
  /*--- Initialize various global constants etc. ---*/
  if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
  if (__Pyx_init_sys_getdefaultencoding_params() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  if (__pyx_module_is_main_renpy__gl2__uguugl) {
    if (PyObject_SetAttrString(__pyx_m, "__name__", __pyx_n_s_main) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
    if (!PyDict_GetItemString(modules, "renpy.gl2.uguugl")) {
      if (unlikely(PyDict_SetItemString(modules, "renpy.gl2.uguugl", __pyx_m) < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Constants init code ---*/
  if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Global init code ---*/
  /*--- Variable export code ---*/
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glActiveTexture, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glActiveTexture, "__pyx_t_5renpy_3gl2_6uguugl_glActiveTexture_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glAttachShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glAttachShader, "__pyx_t_5renpy_3gl2_6uguugl_glAttachShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBindAttribLocation, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBindAttribLocation, "__pyx_t_5renpy_3gl2_6uguugl_glBindAttribLocation_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBindBuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBindBuffer, "__pyx_t_5renpy_3gl2_6uguugl_glBindBuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBindFramebuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBindFramebuffer, "__pyx_t_5renpy_3gl2_6uguugl_glBindFramebuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBindRenderbuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBindRenderbuffer, "__pyx_t_5renpy_3gl2_6uguugl_glBindRenderbuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBindTexture, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBindTexture, "__pyx_t_5renpy_3gl2_6uguugl_glBindTexture_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBlendColor, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBlendColor, "__pyx_t_5renpy_3gl2_6uguugl_glBlendColor_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBlendEquation, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBlendEquation, "__pyx_t_5renpy_3gl2_6uguugl_glBlendEquation_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBlendEquationSeparate, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBlendEquationSeparate, "__pyx_t_5renpy_3gl2_6uguugl_glBlendEquationSeparate_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBlendFunc, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBlendFunc, "__pyx_t_5renpy_3gl2_6uguugl_glBlendFunc_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBlendFuncSeparate, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBlendFuncSeparate, "__pyx_t_5renpy_3gl2_6uguugl_glBlendFuncSeparate_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBufferData, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBufferData, "__pyx_t_5renpy_3gl2_6uguugl_glBufferData_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glBufferSubData, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glBufferSubData, "__pyx_t_5renpy_3gl2_6uguugl_glBufferSubData_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCheckFramebufferStatus, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCheckFramebufferStatus, "__pyx_t_5renpy_3gl2_6uguugl_glCheckFramebufferStatus_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glClear, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glClear, "__pyx_t_5renpy_3gl2_6uguugl_glClear_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glClearColor, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glClearColor, "__pyx_t_5renpy_3gl2_6uguugl_glClearColor_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glClearStencil, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glClearStencil, "__pyx_t_5renpy_3gl2_6uguugl_glClearStencil_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glColorMask, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glColorMask, "__pyx_t_5renpy_3gl2_6uguugl_glColorMask_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCompileShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCompileShader, "__pyx_t_5renpy_3gl2_6uguugl_glCompileShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCompressedTexImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCompressedTexImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCompressedTexSubImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glCompressedTexSubImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCopyTexImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCopyTexImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glCopyTexImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCopyTexSubImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCopyTexSubImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glCopyTexSubImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCreateProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCreateProgram, "__pyx_t_5renpy_3gl2_6uguugl_glCreateProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCreateShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCreateShader, "__pyx_t_5renpy_3gl2_6uguugl_glCreateShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glCullFace, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glCullFace, "__pyx_t_5renpy_3gl2_6uguugl_glCullFace_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteBuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteBuffers, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteBuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteFramebuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteFramebuffers, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteFramebuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteProgram, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteRenderbuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteRenderbuffers, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteRenderbuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteShader, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDeleteTextures, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDeleteTextures, "__pyx_t_5renpy_3gl2_6uguugl_glDeleteTextures_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDepthFunc, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDepthFunc, "__pyx_t_5renpy_3gl2_6uguugl_glDepthFunc_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDepthMask, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDepthMask, "__pyx_t_5renpy_3gl2_6uguugl_glDepthMask_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDetachShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDetachShader, "__pyx_t_5renpy_3gl2_6uguugl_glDetachShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDisable, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDisable, "__pyx_t_5renpy_3gl2_6uguugl_glDisable_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDisableVertexAttribArray, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDisableVertexAttribArray, "__pyx_t_5renpy_3gl2_6uguugl_glDisableVertexAttribArray_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDrawArrays, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDrawArrays, "__pyx_t_5renpy_3gl2_6uguugl_glDrawArrays_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glDrawElements, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glDrawElements, "__pyx_t_5renpy_3gl2_6uguugl_glDrawElements_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glEnable, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glEnable, "__pyx_t_5renpy_3gl2_6uguugl_glEnable_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glEnableVertexAttribArray, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glEnableVertexAttribArray, "__pyx_t_5renpy_3gl2_6uguugl_glEnableVertexAttribArray_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glFinish, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glFinish, "__pyx_t_5renpy_3gl2_6uguugl_glFinish_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glFlush, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glFlush, "__pyx_t_5renpy_3gl2_6uguugl_glFlush_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glFramebufferRenderbuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer, "__pyx_t_5renpy_3gl2_6uguugl_glFramebufferRenderbuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glFramebufferTexture2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glFramebufferTexture2D, "__pyx_t_5renpy_3gl2_6uguugl_glFramebufferTexture2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glFrontFace, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glFrontFace, "__pyx_t_5renpy_3gl2_6uguugl_glFrontFace_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGenBuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGenBuffers, "__pyx_t_5renpy_3gl2_6uguugl_glGenBuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGenFramebuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGenFramebuffers, "__pyx_t_5renpy_3gl2_6uguugl_glGenFramebuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGenRenderbuffers, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGenRenderbuffers, "__pyx_t_5renpy_3gl2_6uguugl_glGenRenderbuffers_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGenTextures, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGenTextures, "__pyx_t_5renpy_3gl2_6uguugl_glGenTextures_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGenerateMipmap, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGenerateMipmap, "__pyx_t_5renpy_3gl2_6uguugl_glGenerateMipmap_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetActiveAttrib, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetActiveAttrib, "__pyx_t_5renpy_3gl2_6uguugl_glGetActiveAttrib_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetActiveUniform, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetActiveUniform, "__pyx_t_5renpy_3gl2_6uguugl_glGetActiveUniform_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetAttachedShaders, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetAttachedShaders, "__pyx_t_5renpy_3gl2_6uguugl_glGetAttachedShaders_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetAttribLocation, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetAttribLocation, "__pyx_t_5renpy_3gl2_6uguugl_glGetAttribLocation_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetBooleanv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetBooleanv, "__pyx_t_5renpy_3gl2_6uguugl_glGetBooleanv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetBufferParameteriv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetBufferParameteriv, "__pyx_t_5renpy_3gl2_6uguugl_glGetBufferParameteriv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetError, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetError, "__pyx_t_5renpy_3gl2_6uguugl_glGetError_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetFloatv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetFloatv, "__pyx_t_5renpy_3gl2_6uguugl_glGetFloatv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetFramebufferAttachmentParame, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv, "__pyx_t_5renpy_3gl2_6uguugl_glGetFramebufferAttachmentParameteriv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetIntegerv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetIntegerv, "__pyx_t_5renpy_3gl2_6uguugl_glGetIntegerv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetProgramInfoLog, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetProgramInfoLog, "__pyx_t_5renpy_3gl2_6uguugl_glGetProgramInfoLog_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetProgramiv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetProgramiv, "__pyx_t_5renpy_3gl2_6uguugl_glGetProgramiv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetRenderbufferParameteriv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv, "__pyx_t_5renpy_3gl2_6uguugl_glGetRenderbufferParameteriv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetShaderInfoLog, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetShaderInfoLog, "__pyx_t_5renpy_3gl2_6uguugl_glGetShaderInfoLog_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetShaderSource, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetShaderSource, "__pyx_t_5renpy_3gl2_6uguugl_glGetShaderSource_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetShaderiv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetShaderiv, "__pyx_t_5renpy_3gl2_6uguugl_glGetShaderiv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetString, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetString, "__pyx_t_5renpy_3gl2_6uguugl_glGetString_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetTexParameterfv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetTexParameterfv, "__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameterfv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetTexParameteriv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetTexParameteriv, "__pyx_t_5renpy_3gl2_6uguugl_glGetTexParameteriv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetUniformLocation, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetUniformLocation, "__pyx_t_5renpy_3gl2_6uguugl_glGetUniformLocation_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetUniformfv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetUniformfv, "__pyx_t_5renpy_3gl2_6uguugl_glGetUniformfv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetUniformiv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetUniformiv, "__pyx_t_5renpy_3gl2_6uguugl_glGetUniformiv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetVertexAttribPointerv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv, "__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribPointerv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetVertexAttribfv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribfv, "__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribfv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glGetVertexAttribiv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glGetVertexAttribiv, "__pyx_t_5renpy_3gl2_6uguugl_glGetVertexAttribiv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glHint, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glHint, "__pyx_t_5renpy_3gl2_6uguugl_glHint_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsBuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsBuffer, "__pyx_t_5renpy_3gl2_6uguugl_glIsBuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsEnabled, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsEnabled, "__pyx_t_5renpy_3gl2_6uguugl_glIsEnabled_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsFramebuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsFramebuffer, "__pyx_t_5renpy_3gl2_6uguugl_glIsFramebuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsProgram, "__pyx_t_5renpy_3gl2_6uguugl_glIsProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsRenderbuffer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsRenderbuffer, "__pyx_t_5renpy_3gl2_6uguugl_glIsRenderbuffer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsShader, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsShader, "__pyx_t_5renpy_3gl2_6uguugl_glIsShader_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glIsTexture, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glIsTexture, "__pyx_t_5renpy_3gl2_6uguugl_glIsTexture_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glLineWidth, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glLineWidth, "__pyx_t_5renpy_3gl2_6uguugl_glLineWidth_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glLinkProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glLinkProgram, "__pyx_t_5renpy_3gl2_6uguugl_glLinkProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glPixelStorei, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glPixelStorei, "__pyx_t_5renpy_3gl2_6uguugl_glPixelStorei_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glPolygonOffset, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glPolygonOffset, "__pyx_t_5renpy_3gl2_6uguugl_glPolygonOffset_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glReadPixels, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glReadPixels, "__pyx_t_5renpy_3gl2_6uguugl_glReadPixels_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glRenderbufferStorage, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glRenderbufferStorage, "__pyx_t_5renpy_3gl2_6uguugl_glRenderbufferStorage_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glSampleCoverage, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glSampleCoverage, "__pyx_t_5renpy_3gl2_6uguugl_glSampleCoverage_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glScissor, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glScissor, "__pyx_t_5renpy_3gl2_6uguugl_glScissor_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glShaderSource, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glShaderSource, "__pyx_t_5renpy_3gl2_6uguugl_glShaderSource_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilFunc, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilFunc, "__pyx_t_5renpy_3gl2_6uguugl_glStencilFunc_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilFuncSeparate, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilFuncSeparate, "__pyx_t_5renpy_3gl2_6uguugl_glStencilFuncSeparate_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilMask, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilMask, "__pyx_t_5renpy_3gl2_6uguugl_glStencilMask_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilMaskSeparate, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilMaskSeparate, "__pyx_t_5renpy_3gl2_6uguugl_glStencilMaskSeparate_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilOp, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilOp, "__pyx_t_5renpy_3gl2_6uguugl_glStencilOp_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glStencilOpSeparate, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glStencilOpSeparate, "__pyx_t_5renpy_3gl2_6uguugl_glStencilOpSeparate_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glTexImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexParameterf, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexParameterf, "__pyx_t_5renpy_3gl2_6uguugl_glTexParameterf_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexParameterfv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexParameterfv, "__pyx_t_5renpy_3gl2_6uguugl_glTexParameterfv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexParameteri, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexParameteri, "__pyx_t_5renpy_3gl2_6uguugl_glTexParameteri_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexParameteriv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexParameteriv, "__pyx_t_5renpy_3gl2_6uguugl_glTexParameteriv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glTexSubImage2D, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glTexSubImage2D, "__pyx_t_5renpy_3gl2_6uguugl_glTexSubImage2D_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform1f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform1f, "__pyx_t_5renpy_3gl2_6uguugl_glUniform1f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform1fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform1fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform1fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform1i, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform1i, "__pyx_t_5renpy_3gl2_6uguugl_glUniform1i_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform1iv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform1iv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform1iv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform2f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform2f, "__pyx_t_5renpy_3gl2_6uguugl_glUniform2f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform2fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform2fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform2fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform2i, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform2i, "__pyx_t_5renpy_3gl2_6uguugl_glUniform2i_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform2iv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform2iv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform2iv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform3f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform3f, "__pyx_t_5renpy_3gl2_6uguugl_glUniform3f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform3fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform3fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform3fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform3i, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform3i, "__pyx_t_5renpy_3gl2_6uguugl_glUniform3i_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform3iv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform3iv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform3iv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform4f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform4f, "__pyx_t_5renpy_3gl2_6uguugl_glUniform4f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform4fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform4fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform4fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform4i, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform4i, "__pyx_t_5renpy_3gl2_6uguugl_glUniform4i_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniform4iv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniform4iv, "__pyx_t_5renpy_3gl2_6uguugl_glUniform4iv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniformMatrix2fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix2fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix2fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniformMatrix3fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix3fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix3fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUniformMatrix4fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUniformMatrix4fv, "__pyx_t_5renpy_3gl2_6uguugl_glUniformMatrix4fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glUseProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glUseProgram, "__pyx_t_5renpy_3gl2_6uguugl_glUseProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glValidateProgram, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glValidateProgram, "__pyx_t_5renpy_3gl2_6uguugl_glValidateProgram_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib1f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1f, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib1fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib1fv, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib1fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib2f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2f, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib2fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib2fv, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib2fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib3f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3f, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib3fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib3fv, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib3fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib4f, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4f, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4f_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttrib4fv, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttrib4fv, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttrib4fv_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glVertexAttribPointer, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glVertexAttribPointer, "__pyx_t_5renpy_3gl2_6uguugl_glVertexAttribPointer_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_glViewport, (void *)&__pyx_v_5renpy_3gl2_6uguugl_glViewport, "__pyx_t_5renpy_3gl2_6uguugl_glViewport_type") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Function export code ---*/
  /*--- Type init code ---*/
  /*--- Type import code ---*/
  /*--- Variable import code ---*/
  /*--- Function import code ---*/
  /*--- Execution code ---*/
  #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
  if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif

  /* "renpy/gl2/uguugl.pyx":19
 * cdef GLenum error_code
 * 
 * def reset_error():             # <<<<<<<<<<<<<<
 *     """
 *     Resets the
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_3gl2_6uguugl_1reset_error, NULL, __pyx_n_s_renpy_gl2_uguugl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 19, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_reset_error, __pyx_t_1) < 0) __PYX_ERR(0, 19, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":30
 *     error_code = GL_NO_ERROR
 * 
 * reset_error()             # <<<<<<<<<<<<<<
 * 
 * def get_error():
 */
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_reset_error); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 30, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  if (__pyx_t_3) {
    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 30, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else {
    __pyx_t_1 = __Pyx_PyObject_CallNoArg(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 30, __pyx_L1_error)
  }
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":32
 * reset_error()
 * 
 * def get_error():             # <<<<<<<<<<<<<<
 * 
 *     if error_function != NULL:
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_3gl2_6uguugl_3get_error, NULL, __pyx_n_s_renpy_gl2_uguugl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_error, __pyx_t_1) < 0) __PYX_ERR(0, 32, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1042
 *     check_error("glViewport")
 * 
 * def load():             # <<<<<<<<<<<<<<
 * 
 *     global real_glActiveTexture, glActiveTexture
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_3gl2_6uguugl_5load, NULL, __pyx_n_s_renpy_gl2_uguugl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1042, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_load, __pyx_t_1) < 0) __PYX_ERR(0, 1042, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1592
 *     glViewport = real_glViewport
 * 
 * def enable_check_error():             # <<<<<<<<<<<<<<
 *     global glActiveTexture
 *     glActiveTexture = check_glActiveTexture
 */
  __pyx_t_1 = PyCFunction_NewEx(&__pyx_mdef_5renpy_3gl2_6uguugl_7enable_check_error, NULL, __pyx_n_s_renpy_gl2_uguugl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1592, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_enable_check_error, __pyx_t_1) < 0) __PYX_ERR(0, 1592, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "renpy/gl2/uguugl.pyx":1
 * from sdl2 cimport SDL_GL_GetProcAddress             # <<<<<<<<<<<<<<
 * 
 * cdef void *find_gl_command(names):
 */
  __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_1) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /*--- Wrapped vars code ---*/

  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init renpy.gl2.uguugl", 0, __pyx_lineno, __pyx_filename);
    }
    Py_DECREF(__pyx_m); __pyx_m = 0;
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init renpy.gl2.uguugl");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  return (__pyx_m != NULL) ? 0 : -1;
  #elif PY_MAJOR_VERSION >= 3
  return __pyx_m;
  #else
  return;
  #endif
}

/* --- Runtime support code --- */
/* Refnanny */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule((char *)modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, (char *)"RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif

/* GetItemInt */
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
    PyObject *r;
    if (!j) return NULL;
    r = PyObject_GetItem(o, j);
    Py_DECREF(j);
    return r;
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyList_GET_SIZE(o);
    }
    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyList_GET_SIZE(o)))) {
        PyObject *r = PyList_GET_ITEM(o, wrapped_i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyTuple_GET_SIZE(o);
    }
    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyTuple_GET_SIZE(o)))) {
        PyObject *r = PyTuple_GET_ITEM(o, wrapped_i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
                                                     CYTHON_NCP_UNUSED int wraparound,
                                                     CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
    if (is_list || PyList_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
            PyObject *r = PyList_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    }
    else if (PyTuple_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
            PyObject *r = PyTuple_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    } else {
        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
        if (likely(m && m->sq_item)) {
            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
                Py_ssize_t l = m->sq_length(o);
                if (likely(l >= 0)) {
                    i += l;
                } else {
                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
                        return NULL;
                    PyErr_Clear();
                }
            }
            return m->sq_item(o, i);
        }
    }
#else
    if (is_list || PySequence_Check(o)) {
        return PySequence_GetItem(o, i);
    }
#endif
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
}

/* PyCFunctionFastCall */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, PyObject **args, Py_ssize_t nargs) {
    PyCFunctionObject *func = (PyCFunctionObject*)func_obj;
    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
    PyObject *self = PyCFunction_GET_SELF(func);
    int flags = PyCFunction_GET_FLAGS(func);
    assert(PyCFunction_Check(func));
    assert(METH_FASTCALL == (flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)));
    assert(nargs >= 0);
    assert(nargs == 0 || args != NULL);
    /* _PyCFunction_FastCallDict() must not be called with an exception set,
       because it may clear it (directly or indirectly) and so the
       caller loses its exception */
    assert(!PyErr_Occurred());
    if ((PY_VERSION_HEX < 0x030700A0) || unlikely(flags & METH_KEYWORDS)) {
        return (*((__Pyx_PyCFunctionFastWithKeywords)meth)) (self, args, nargs, NULL);
    } else {
        return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs);
    }
}
#endif

/* PyFunctionFastCall */
#if CYTHON_FAST_PYCALL
#include "frameobject.h"
static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na,
                                               PyObject *globals) {
    PyFrameObject *f;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    PyObject **fastlocals;
    Py_ssize_t i;
    PyObject *result;
    assert(globals != NULL);
    /* XXX Perhaps we should create a specialized
       PyFrame_New() that doesn't take locals, but does
       take builtins without sanity checking them.
       */
    assert(tstate != NULL);
    f = PyFrame_New(tstate, co, globals, NULL);
    if (f == NULL) {
        return NULL;
    }
    fastlocals = f->f_localsplus;
    for (i = 0; i < na; i++) {
        Py_INCREF(*args);
        fastlocals[i] = *args++;
    }
    result = PyEval_EvalFrameEx(f,0);
    ++tstate->recursion_depth;
    Py_DECREF(f);
    --tstate->recursion_depth;
    return result;
}
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs) {
    PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
    PyObject *globals = PyFunction_GET_GLOBALS(func);
    PyObject *argdefs = PyFunction_GET_DEFAULTS(func);
    PyObject *closure;
#if PY_MAJOR_VERSION >= 3
    PyObject *kwdefs;
#endif
    PyObject *kwtuple, **k;
    PyObject **d;
    Py_ssize_t nd;
    Py_ssize_t nk;
    PyObject *result;
    assert(kwargs == NULL || PyDict_Check(kwargs));
    nk = kwargs ? PyDict_Size(kwargs) : 0;
    if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
        return NULL;
    }
    if (
#if PY_MAJOR_VERSION >= 3
            co->co_kwonlyargcount == 0 &&
#endif
            likely(kwargs == NULL || nk == 0) &&
            co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
        if (argdefs == NULL && co->co_argcount == nargs) {
            result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals);
            goto done;
        }
        else if (nargs == 0 && argdefs != NULL
                 && co->co_argcount == Py_SIZE(argdefs)) {
            /* function called with no arguments, but all parameters have
               a default value: use default values as arguments .*/
            args = &PyTuple_GET_ITEM(argdefs, 0);
            result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals);
            goto done;
        }
    }
    if (kwargs != NULL) {
        Py_ssize_t pos, i;
        kwtuple = PyTuple_New(2 * nk);
        if (kwtuple == NULL) {
            result = NULL;
            goto done;
        }
        k = &PyTuple_GET_ITEM(kwtuple, 0);
        pos = i = 0;
        while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) {
            Py_INCREF(k[i]);
            Py_INCREF(k[i+1]);
            i += 2;
        }
        nk = i / 2;
    }
    else {
        kwtuple = NULL;
        k = NULL;
    }
    closure = PyFunction_GET_CLOSURE(func);
#if PY_MAJOR_VERSION >= 3
    kwdefs = PyFunction_GET_KW_DEFAULTS(func);
#endif
    if (argdefs != NULL) {
        d = &PyTuple_GET_ITEM(argdefs, 0);
        nd = Py_SIZE(argdefs);
    }
    else {
        d = NULL;
        nd = 0;
    }
#if PY_MAJOR_VERSION >= 3
    result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
                               args, nargs,
                               k, (int)nk,
                               d, (int)nd, kwdefs, closure);
#else
    result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
                               args, nargs,
                               k, (int)nk,
                               d, (int)nd, closure);
#endif
    Py_XDECREF(kwtuple);
done:
    Py_LeaveRecursiveCall();
    return result;
}
#endif
#endif

/* PyObjectCall */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = func->ob_type->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = (*call)(func, arg, kw);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyObjectCallMethO */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = PyCFunction_GET_FUNCTION(func);
    self = PyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = cfunc(self, arg);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyObjectCallOneArg */
#if CYTHON_COMPILING_IN_CPYTHON
static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_New(1);
    if (unlikely(!args)) return NULL;
    Py_INCREF(arg);
    PyTuple_SET_ITEM(args, 0, arg);
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
#if CYTHON_FAST_PYCALL
    if (PyFunction_Check(func)) {
        return __Pyx_PyFunction_FastCall(func, &arg, 1);
    }
#endif
    if (likely(PyCFunction_Check(func))) {
        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
            return __Pyx_PyObject_CallMethO(func, arg);
#if CYTHON_FAST_PYCCALL
        } else if (PyCFunction_GET_FLAGS(func) & METH_FASTCALL) {
            return __Pyx_PyCFunction_FastCall(func, &arg, 1);
#endif
        }
    }
    return __Pyx__PyObject_CallOneArg(func, arg);
}
#else
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_Pack(1, arg);
    if (unlikely(!args)) return NULL;
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
#endif

/* PyErrFetchRestore */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
}
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
}
#endif

/* RaiseException */
#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    __Pyx_PyThreadState_declare
    Py_XINCREF(type);
    if (!value || value == Py_None)
        value = NULL;
    else
        Py_INCREF(value);
    if (!tb || tb == Py_None)
        tb = NULL;
    else {
        Py_INCREF(tb);
        if (!PyTraceBack_Check(tb)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: arg 3 must be a traceback or None");
            goto raise_error;
        }
    }
    if (PyType_Check(type)) {
#if CYTHON_COMPILING_IN_PYPY
        if (!value) {
            Py_INCREF(Py_None);
            value = Py_None;
        }
#endif
        PyErr_NormalizeException(&type, &value, &tb);
    } else {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto raise_error;
        }
        value = type;
        type = (PyObject*) Py_TYPE(type);
        Py_INCREF(type);
        if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: exception class must be a subclass of BaseException");
            goto raise_error;
        }
    }
    __Pyx_PyThreadState_assign
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
    PyObject* owned_instance = NULL;
    if (tb == Py_None) {
        tb = 0;
    } else if (tb && !PyTraceBack_Check(tb)) {
        PyErr_SetString(PyExc_TypeError,
            "raise: arg 3 must be a traceback or None");
        goto bad;
    }
    if (value == Py_None)
        value = 0;
    if (PyExceptionInstance_Check(type)) {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto bad;
        }
        value = type;
        type = (PyObject*) Py_TYPE(value);
    } else if (PyExceptionClass_Check(type)) {
        PyObject *instance_class = NULL;
        if (value && PyExceptionInstance_Check(value)) {
            instance_class = (PyObject*) Py_TYPE(value);
            if (instance_class != type) {
                int is_subclass = PyObject_IsSubclass(instance_class, type);
                if (!is_subclass) {
                    instance_class = NULL;
                } else if (unlikely(is_subclass == -1)) {
                    goto bad;
                } else {
                    type = instance_class;
                }
            }
        }
        if (!instance_class) {
            PyObject *args;
            if (!value)
                args = PyTuple_New(0);
            else if (PyTuple_Check(value)) {
                Py_INCREF(value);
                args = value;
            } else
                args = PyTuple_Pack(1, value);
            if (!args)
                goto bad;
            owned_instance = PyObject_Call(type, args, NULL);
            Py_DECREF(args);
            if (!owned_instance)
                goto bad;
            value = owned_instance;
            if (!PyExceptionInstance_Check(value)) {
                PyErr_Format(PyExc_TypeError,
                             "calling %R should have returned an instance of "
                             "BaseException, not %R",
                             type, Py_TYPE(value));
                goto bad;
            }
        }
    } else {
        PyErr_SetString(PyExc_TypeError,
            "raise: exception class must be a subclass of BaseException");
        goto bad;
    }
    if (cause) {
        PyObject *fixed_cause;
        if (cause == Py_None) {
            fixed_cause = NULL;
        } else if (PyExceptionClass_Check(cause)) {
            fixed_cause = PyObject_CallObject(cause, NULL);
            if (fixed_cause == NULL)
                goto bad;
        } else if (PyExceptionInstance_Check(cause)) {
            fixed_cause = cause;
            Py_INCREF(fixed_cause);
        } else {
            PyErr_SetString(PyExc_TypeError,
                            "exception causes must derive from "
                            "BaseException");
            goto bad;
        }
        PyException_SetCause(value, fixed_cause);
    }
    PyErr_SetObject(type, value);
    if (tb) {
#if CYTHON_COMPILING_IN_PYPY
        PyObject *tmp_type, *tmp_value, *tmp_tb;
        PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb);
        Py_INCREF(tb);
        PyErr_Restore(tmp_type, tmp_value, tb);
        Py_XDECREF(tmp_tb);
#else
        PyThreadState *tstate = __Pyx_PyThreadState_Current;
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
#endif
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

/* WriteUnraisableException */
static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
                                  CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
                                  int full_traceback, CYTHON_UNUSED int nogil) {
    PyObject *old_exc, *old_val, *old_tb;
    PyObject *ctx;
    __Pyx_PyThreadState_declare
#ifdef WITH_THREAD
    PyGILState_STATE state;
    if (nogil)
        state = PyGILState_Ensure();
#ifdef _MSC_VER
    else state = (PyGILState_STATE)-1;
#endif
#endif
    __Pyx_PyThreadState_assign
    __Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
    if (full_traceback) {
        Py_XINCREF(old_exc);
        Py_XINCREF(old_val);
        Py_XINCREF(old_tb);
        __Pyx_ErrRestore(old_exc, old_val, old_tb);
        PyErr_PrintEx(1);
    }
    #if PY_MAJOR_VERSION < 3
    ctx = PyString_FromString(name);
    #else
    ctx = PyUnicode_FromString(name);
    #endif
    __Pyx_ErrRestore(old_exc, old_val, old_tb);
    if (!ctx) {
        PyErr_WriteUnraisable(Py_None);
    } else {
        PyErr_WriteUnraisable(ctx);
        Py_DECREF(ctx);
    }
#ifdef WITH_THREAD
    if (nogil)
        PyGILState_Release(state);
#endif
}

/* decode_c_string */
static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
         const char* cstring, Py_ssize_t start, Py_ssize_t stop,
         const char* encoding, const char* errors,
         PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors)) {
    Py_ssize_t length;
    if (unlikely((start < 0) | (stop < 0))) {
        size_t slen = strlen(cstring);
        if (unlikely(slen > (size_t) PY_SSIZE_T_MAX)) {
            PyErr_SetString(PyExc_OverflowError,
                            "c-string too long to convert to Python");
            return NULL;
        }
        length = (Py_ssize_t) slen;
        if (start < 0) {
            start += length;
            if (start < 0)
                start = 0;
        }
        if (stop < 0)
            stop += length;
    }
    length = stop - start;
    if (unlikely(length <= 0))
        return PyUnicode_FromUnicode(NULL, 0);
    cstring += start;
    if (decode_func) {
        return decode_func(cstring, length, errors);
    } else {
        return PyUnicode_Decode(cstring, length, encoding, errors);
    }
}

/* GetBuiltinName */
static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
    if (unlikely(!result)) {
        PyErr_Format(PyExc_NameError,
#if PY_MAJOR_VERSION >= 3
            "name '%U' is not defined", name);
#else
            "name '%.200s' is not defined", PyString_AS_STRING(name));
#endif
    }
    return result;
}

/* GetModuleGlobalName */
static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
    PyObject *result;
#if !CYTHON_AVOID_BORROWED_REFS
    result = PyDict_GetItem(__pyx_d, name);
    if (likely(result)) {
        Py_INCREF(result);
    } else {
#else
    result = PyObject_GetItem(__pyx_d, name);
    if (!result) {
        PyErr_Clear();
#endif
        result = __Pyx_GetBuiltinName(name);
    }
    return result;
}

/* PyObjectCallNoArg */
  #if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
#if CYTHON_FAST_PYCALL
    if (PyFunction_Check(func)) {
        return __Pyx_PyFunction_FastCall(func, NULL, 0);
    }
#endif
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || __Pyx_TypeCheck(func, __pyx_CyFunctionType))) {
#else
    if (likely(PyCFunction_Check(func))) {
#endif
        if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
            return __Pyx_PyObject_CallMethO(func, NULL);
        }
    }
    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
}
#endif

/* CLineInTraceback */
    #ifndef CYTHON_CLINE_IN_TRACEBACK
static int __Pyx_CLineForTraceback(CYTHON_UNUSED PyThreadState *tstate, int c_line) {
    PyObject *use_cline;
    PyObject *ptype, *pvalue, *ptraceback;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject **cython_runtime_dict;
#endif
    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
#if CYTHON_COMPILING_IN_CPYTHON
    cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime);
    if (likely(cython_runtime_dict)) {
      use_cline = PyDict_GetItem(*cython_runtime_dict, __pyx_n_s_cline_in_traceback);
    } else
#endif
    {
      PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback);
      if (use_cline_obj) {
        use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True;
        Py_DECREF(use_cline_obj);
      } else {
        PyErr_Clear();
        use_cline = NULL;
      }
    }
    if (!use_cline) {
        c_line = 0;
        PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
    }
    else if (PyObject_Not(use_cline) != 0) {
        c_line = 0;
    }
    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
    return c_line;
}
#endif

/* CodeObjectCache */
    static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
    int start = 0, mid = 0, end = count - 1;
    if (end >= 0 && code_line > entries[end].code_line) {
        return count;
    }
    while (start < end) {
        mid = start + (end - start) / 2;
        if (code_line < entries[mid].code_line) {
            end = mid;
        } else if (code_line > entries[mid].code_line) {
             start = mid + 1;
        } else {
            return mid;
        }
    }
    if (code_line <= entries[mid].code_line) {
        return mid;
    } else {
        return mid + 1;
    }
}
static PyCodeObject *__pyx_find_code_object(int code_line) {
    PyCodeObject* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = __pyx_code_cache.entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            __pyx_code_cache.entries = entries;
            __pyx_code_cache.max_count = 64;
            __pyx_code_cache.count = 1;
            entries[0].code_line = code_line;
            entries[0].code_object = code_object;
            Py_INCREF(code_object);
        }
        return;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
        PyCodeObject* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_DECREF(tmp);
        return;
    }
    if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
        int new_max = __pyx_code_cache.max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            __pyx_code_cache.entries, (size_t)new_max*sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        __pyx_code_cache.entries = entries;
        __pyx_code_cache.max_count = new_max;
    }
    for (i=__pyx_code_cache.count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    __pyx_code_cache.count++;
    Py_INCREF(code_object);
}

/* AddTraceback */
    #include "compile.h"
#include "frameobject.h"
#include "traceback.h"
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(filename);
    #else
    py_srcfile = PyUnicode_FromString(filename);
    #endif
    if (!py_srcfile) goto bad;
    if (c_line) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #endif
    }
    else {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromString(funcname);
        #else
        py_funcname = PyUnicode_FromString(funcname);
        #endif
    }
    if (!py_funcname) goto bad;
    py_code = __Pyx_PyCode_New(
        0,
        0,
        0,
        0,
        0,
        __pyx_empty_bytes, /*PyObject *code,*/
        __pyx_empty_tuple, /*PyObject *consts,*/
        __pyx_empty_tuple, /*PyObject *names,*/
        __pyx_empty_tuple, /*PyObject *varnames,*/
        __pyx_empty_tuple, /*PyObject *freevars,*/
        __pyx_empty_tuple, /*PyObject *cellvars,*/
        py_srcfile,   /*PyObject *filename,*/
        py_funcname,  /*PyObject *name,*/
        py_line,
        __pyx_empty_bytes  /*PyObject *lnotab*/
    );
    Py_DECREF(py_srcfile);
    Py_DECREF(py_funcname);
    return py_code;
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyFrameObject *py_frame = 0;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    if (c_line) {
        c_line = __Pyx_CLineForTraceback(tstate, c_line);
    }
    py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
    if (!py_code) {
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) goto bad;
        __pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
    }
    py_frame = PyFrame_New(
        tstate,            /*PyThreadState *tstate,*/
        py_code,           /*PyCodeObject *code,*/
        __pyx_d,    /*PyObject *globals,*/
        0                  /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

/* CIntToPy */
    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
    const long neg_one = (long) -1, const_zero = (long) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(long) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

/* CIntToPy */
    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_GLenum(GLenum value) {
    const GLenum neg_one = (GLenum) -1, const_zero = (GLenum) 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(GLenum) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(GLenum) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLenum) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(GLenum) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(GLenum) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(GLenum),
                                     little, !is_unsigned);
    }
}

/* CIntFromPyVerify */
    #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
#define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1)
#define __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, exc)\
    {\
        func_type value = func_value;\
        if (sizeof(target_type) < sizeof(func_type)) {\
            if (unlikely(value != (func_type) (target_type) value)) {\
                func_type zero = 0;\
                if (exc && unlikely(value == (func_type)-1 && PyErr_Occurred()))\
                    return (target_type) -1;\
                if (is_unsigned && unlikely(value < zero))\
                    goto raise_neg_overflow;\
                else\
                    goto raise_overflow;\
            }\
        }\
        return (target_type) value;\
    }

/* CIntFromPy */
    static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
    const long neg_one = (long) -1, const_zero = (long) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(long) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (long) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            long val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (long) -1;
        }
    } else {
        long val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to long");
    return (long) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to long");
    return (long) -1;
}

/* CIntFromPy */
    static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
    const int neg_one = (int) -1, const_zero = (int) 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case  1: __PYX_VERIFY_RETURN_INT(int, digit, digits[0])
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 2 * PyLong_SHIFT) {
                            return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 3 * PyLong_SHIFT) {
                            return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 4 * PyLong_SHIFT) {
                            return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (int) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case -1: __PYX_VERIFY_RETURN_INT(int, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(int,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(int) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            int val;
            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (int) -1;
        }
    } else {
        int val;
        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to int");
    return (int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to int");
    return (int) -1;
}

/* FastTypeChecks */
    #if CYTHON_COMPILING_IN_CPYTHON
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
    while (a) {
        a = a->tp_base;
        if (a == b)
            return 1;
    }
    return b == &PyBaseObject_Type;
}
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
    PyObject *mro;
    if (a == b) return 1;
    mro = a->tp_mro;
    if (likely(mro)) {
        Py_ssize_t i, n;
        n = PyTuple_GET_SIZE(mro);
        for (i = 0; i < n; i++) {
            if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b)
                return 1;
        }
        return 0;
    }
    return __Pyx_InBases(a, b);
}
#if PY_MAJOR_VERSION == 2
static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) {
    PyObject *exception, *value, *tb;
    int res;
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ErrFetch(&exception, &value, &tb);
    res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0;
    if (unlikely(res == -1)) {
        PyErr_WriteUnraisable(err);
        res = 0;
    }
    if (!res) {
        res = PyObject_IsSubclass(err, exc_type2);
        if (unlikely(res == -1)) {
            PyErr_WriteUnraisable(err);
            res = 0;
        }
    }
    __Pyx_ErrRestore(exception, value, tb);
    return res;
}
#else
static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
    int res = exc_type1 ? __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type1) : 0;
    if (!res) {
        res = __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
    }
    return res;
}
#endif
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
    if (likely(err == exc_type)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
    }
    return PyErr_GivenExceptionMatches(err, exc_type);
}
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *exc_type1, PyObject *exc_type2) {
    if (likely(err == exc_type1 || err == exc_type2)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, exc_type1, exc_type2);
    }
    return (PyErr_GivenExceptionMatches(err, exc_type1) || PyErr_GivenExceptionMatches(err, exc_type2));
}
#endif

/* CheckBinaryVersion */
    static int __Pyx_check_binary_version(void) {
    char ctversion[4], rtversion[4];
    PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
    PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
    if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compiletime version %s of module '%.100s' "
                      "does not match runtime version %s",
                      ctversion, __Pyx_MODULE_NAME, rtversion);
        return PyErr_WarnEx(NULL, message, 1);
    }
    return 0;
}

/* VoidPtrExport */
    static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig) {
    PyObject *d;
    PyObject *cobj = 0;
    d = PyDict_GetItem(__pyx_d, __pyx_n_s_pyx_capi);
    Py_XINCREF(d);
    if (!d) {
        d = PyDict_New();
        if (!d)
            goto bad;
        if (__Pyx_PyObject_SetAttrStr(__pyx_m, __pyx_n_s_pyx_capi, d) < 0)
            goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    cobj = PyCapsule_New(p, sig, 0);
#else
    cobj = PyCObject_FromVoidPtrAndDesc(p, (void *)sig, 0);
#endif
    if (!cobj)
        goto bad;
    if (PyDict_SetItem(d, name, cobj) < 0)
        goto bad;
    Py_DECREF(cobj);
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(cobj);
    Py_XDECREF(d);
    return -1;
}

/* InitStrings */
    static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
    while (t->p) {
        #if PY_MAJOR_VERSION < 3
        if (t->is_unicode) {
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
        } else if (t->intern) {
            *t->p = PyString_InternFromString(t->s);
        } else {
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
        }
        #else
        if (t->is_unicode | t->is_str) {
            if (t->intern) {
                *t->p = PyUnicode_InternFromString(t->s);
            } else if (t->encoding) {
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
            } else {
                *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
            }
        } else {
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
        }
        #endif
        if (!*t->p)
            return -1;
        if (PyObject_Hash(*t->p) == -1)
            PyErr_Clear();
        ++t;
    }
    return 0;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
}
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
#if !CYTHON_PEP393_ENABLED
static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    char* defenc_c;
    PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
    if (!defenc) return NULL;
    defenc_c = PyBytes_AS_STRING(defenc);
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
    {
        char* end = defenc_c + PyBytes_GET_SIZE(defenc);
        char* c;
        for (c = defenc_c; c < end; c++) {
            if ((unsigned char) (*c) >= 128) {
                PyUnicode_AsASCIIString(o);
                return NULL;
            }
        }
    }
#endif
    *length = PyBytes_GET_SIZE(defenc);
    return defenc_c;
}
#else
static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
    if (likely(PyUnicode_IS_ASCII(o))) {
        *length = PyUnicode_GET_LENGTH(o);
        return PyUnicode_AsUTF8(o);
    } else {
        PyUnicode_AsASCIIString(o);
        return NULL;
    }
#else
    return PyUnicode_AsUTF8AndSize(o, length);
#endif
}
#endif
#endif
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
    if (
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
            __Pyx_sys_getdefaultencoding_not_ascii &&
#endif
            PyUnicode_Check(o)) {
        return __Pyx_PyUnicode_AsStringAndSize(o, length);
    } else
#endif
#if (!CYTHON_COMPILING_IN_PYPY) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#endif
    {
        char* result;
        int r = PyBytes_AsStringAndSize(o, &result, length);
        if (unlikely(r < 0)) {
            return NULL;
        } else {
            return result;
        }
    }
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   int is_true = x == Py_True;
   if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
   else return PyObject_IsTrue(x);
}
static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
#if PY_MAJOR_VERSION >= 3
    if (PyLong_Check(result)) {
        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
                "__int__ returned non-int (type %.200s).  "
                "The ability to return an instance of a strict subclass of int "
                "is deprecated, and may be removed in a future version of Python.",
                Py_TYPE(result)->tp_name)) {
            Py_DECREF(result);
            return NULL;
        }
        return result;
    }
#endif
    PyErr_Format(PyExc_TypeError,
                 "__%.4s__ returned non-%.4s (type %.200s)",
                 type_name, type_name, Py_TYPE(result)->tp_name);
    Py_DECREF(result);
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) {
#if CYTHON_USE_TYPE_SLOTS
  PyNumberMethods *m;
#endif
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_Check(x) || PyLong_Check(x)))
#else
  if (likely(PyLong_Check(x)))
#endif
    return __Pyx_NewRef(x);
#if CYTHON_USE_TYPE_SLOTS
  m = Py_TYPE(x)->tp_as_number;
  #if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = m->nb_int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = m->nb_long(x);
  }
  #else
  if (likely(m && m->nb_int)) {
    name = "int";
    res = m->nb_int(x);
  }
  #endif
#else
  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
    res = PyNumber_Int(x);
  }
#endif
  if (likely(res)) {
#if PY_MAJOR_VERSION < 3
    if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) {
#else
    if (unlikely(!PyLong_CheckExact(res))) {
#endif
        return __Pyx_PyNumber_IntOrLongWrongResultType(res, name);
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject *x;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_CheckExact(b))) {
    if (sizeof(Py_ssize_t) >= sizeof(long))
        return PyInt_AS_LONG(b);
    else
        return PyInt_AsSsize_t(x);
  }
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_USE_PYLONG_INTERNALS
    const digit* digits = ((PyLongObject*)b)->ob_digit;
    const Py_ssize_t size = Py_SIZE(b);
    if (likely(__Pyx_sst_abs(size) <= 1)) {
        ival = likely(size) ? digits[0] : 0;
        if (size == -1) ival = -ival;
        return ival;
    } else {
      switch (size) {
         case 2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
      }
    }
    #endif
    return PyLong_AsSsize_t(b);
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
    return PyInt_FromSize_t(ival);
}


#endif /* Py_PYTHON_H */
