1.1 --- a/src/pvr2/glutil.h Fri Feb 24 21:17:47 2012 +1000
1.2 +++ b/src/pvr2/glutil.h Sat Mar 03 15:52:59 2012 +1000
1.5 gboolean isGLExtensionSupported( const char *extension );
1.7 +gboolean isOpenGLES2();
1.10 * Dump GL information to the output stream, usually for debugging purposes
1.12 @@ -106,6 +108,18 @@
1.13 #define GL_FRAMEBUFFER_COMPLETE GL_FRAMEBUFFER_COMPLETE_EXT
1.16 +#if defined(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT) && !defined(GL_UNSIGNED_SHORT_1_5_5_5_REV)
1.17 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT
1.20 +#if defined(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT) && !defined(GL_UNSIGNED_SHORT_4_4_4_4_REV)
1.21 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT
1.24 +#if defined(GL_BGRA_EXT) && !defined(GL_BGRA)
1.25 +#define GL_BGRA GL_BGRA_EXT
1.28 #if defined(HAVE_OPENGL_FBO_EXT) && !defined(HAVE_OPENGL_FBO)
1.29 #define glGenFramebuffers glGenFramebuffersEXT
1.30 #define glGenRenderbuffers glGenRenderbuffersEXT