GNOME Bugzilla – Bug 607398
Do not use CGL_* symbols
Last modified: 2010-01-19 21:57:44 UTC
Mutter is using CGL_* symbols in mutter-shaped-texture.c and mutter-texture-tower.c The CGL_* symbols have always been considered private and should have never been used by application code. The fact that sometimes they were deemed necessary was a bug that has been rectified by Clutter 1.1. Since the 1.1.6 developers snapshot, Clutter does not export those defines any more, and thus Mutter's compilation fails.
Created attachment 151728 [details] [review] Do not use CGL_* symbols The CGL_* defines in COGL were always meant to be private and should have never been exposed in the first place. The API in COGL has been updated to never require them starting from 1.1, but using the original GL symbols has always been the intent of the API. This commit removes the CGL_TEXTURE_RECTANGLE_ARB usage in favour of the ARB-sanctioned GL_TEXTURE_RECTANGLE_ARB enumeration value. Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
Review of attachment 151728 [details] [review]: Sounds good to me.
Attachment 151728 [details] pushed as 2fbe4c2 - Do not use CGL_* symbols