#ifndef __gl_headers_h__
#define __gl_headers_h__

#if defined(OPENGL_ES)

# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>

#elif defined(OPENGL_REGAL)

# include <GL/Regal.h>
// This is a Regal bug: GL_POLYGON doesn't work.
# undef GL_POLYGON
# define GL_POLYGON GL_TRIANGLE_FAN

#else

# include <GL/glew.h>

#endif

#define HAS_INCLUDED_OPENGL_HEADERS

#endif // __gl_headers_h__
