2007-07-24 Matthew Allum <mallum@openedhand.com>

* clutter/cogl/gl/cogl-defines.h:
        Another GL_TEXTURE_RECTANGLE_ARB related fix (#404)
This commit is contained in:
Matthew Allum 2007-07-24 16:42:50 +00:00
parent 7ae707faf5
commit 23c50938da
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gl/cogl-defines.h:
Another GL_TEXTURE_RECTANGLE_ARB related fix (#404)
2007-07-24 Matthew Allum <mallum@openedhand.com> 2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-backend.c: * clutter/clutter-backend.c:

View File

@ -670,7 +670,13 @@ typedef GLint COGLint;
#define CGL_TEXTURE_2D GL_TEXTURE_2D #define CGL_TEXTURE_2D GL_TEXTURE_2D
#define CGL_ARGB GL_ARGB #define CGL_ARGB GL_ARGB
#ifdef GL_TEXTURE_RECTANGLE_ARB
#define CGL_TEXTURE_RECTANGLE_ARB 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 #ifdef GL_YCBCR_MESA
#define CGL_YCBCR_MESA 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 #define CGL_UNSIGNED_SHORT_8_8_REV_MESA GL_UNSIGNED_SHORT_8_8_REV_MESA