#ifndef _gl_headers_h
#define _gl_headers_h
#if defined( __APPLE__ )
#include <OpenGL/OpenGL.h>
#if defined(CGL_VERSION_1_3)
#include <OpenGL/gl3.h>
#include <OpenGL/gl3ext.h>
#else
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#endif
#include <GLUT/glut.h>
#else
#ifdef _WIN32
#include <windows.h>
#endif
#if defined( __ANDROID__ )
#ifndef GL_GLEXT_PROTOTYPES
#define GL_GLEXT_PROTOTYPES
#endif
#include <GLES/gl.h>
#include <GLES/glext.h>
#else
#include <GL/glew.h>
#include <GL/gl.h>
#endif
#ifdef _WIN32
#include <GL/glut.h>
#elif !defined(__ANDROID__)
#include <GL/freeglut.h>
#endif
#endif
#ifdef _WIN32
GLboolean gluCheckExtension(const GLubyte *extName, const GLubyte *extString);
#define glutGetProcAddress(procName) wglGetProcAddress(procName)
#endif
#endif