From 06d28d04d1fc3bf7e0509b5f975ff72faef628a8 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 24 Jul 2007 16:42:50 +0000 Subject: [PATCH] 2007-07-24 Matthew Allum * clutter/cogl/gl/cogl-defines.h: Another GL_TEXTURE_RECTANGLE_ARB related fix (#404) --- gl/cogl-defines.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gl/cogl-defines.h b/gl/cogl-defines.h index e3f50c687..a4624f7a2 100644 --- a/gl/cogl-defines.h +++ b/gl/cogl-defines.h @@ -670,7 +670,13 @@ typedef GLint COGLint; #define CGL_TEXTURE_2D GL_TEXTURE_2D #define CGL_ARGB GL_ARGB + +#ifdef GL_TEXTURE_RECTANGLE_ARB #define CGL_TEXTURE_RECTANGLE_ARB GL_TEXTURE_RECTANGLE_ARB +#else +#define CGL_TEXTURE_RECTANGLE_ARB 0 +#endif + #ifdef GL_YCBCR_MESA #define CGL_YCBCR_MESA GL_YCBCR_MESA #define CGL_UNSIGNED_SHORT_8_8_REV_MESA GL_UNSIGNED_SHORT_8_8_REV_MESA