CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in CustomCCode "glext.h" are parsed. */ CustomCCode #define GL_GLEXT_PROTOTYPES CustomCCode #if defined(_WIN32) CustomCCode #define WIN32_LEAN_AND_MEAN CustomCCode #include CustomCCode #undef WIN32_LEAN_AND_MEAN CustomCCode #include CustomCCode #include CustomCCode #include CustomCCode /* Define WGL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in CustomCCode "wglext.h" are parsed. */ CustomCCode #define WGL_GLEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ CustomCCode #include CustomCCode #include CustomCCode #elif defined(macosx) CustomCCode #include CustomCCode #include CustomCCode /* Include the OpenGL headers */ CustomCCode #include CustomCCode #include CustomCCode /* Provide Windows typedefs */ CustomCCode typedef void* LPVOID; CustomCCode typedef unsigned int* PUINT; CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX) CustomCCode #include CustomCCode #include CustomCCode #include CustomCCode /* Define GLX_GLXEXT_PROTOTYPES so that the OpenGL extension prototypes in CustomCCode "glxext.h" are parsed. */ CustomCCode #define GLX_GLXEXT_PROTOTYPES CustomCCode /* Include the OpenGL headers */ CustomCCode #include CustomCCode #include CustomCCode #include CustomCCode #endif CustomCCode /* Provide GLES #define for locally generated function pointer typedefs */ CustomCCode #ifndef GL_APIENTRY CustomCCode #define GL_APIENTRY GLAPIENTRY CustomCCode #endif