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

* clutter/cogl/gl/cogl.c: (cogl_get_features):
        learn to use cpp properly.
This commit is contained in:
Matthew Allum 2007-07-24 12:06:52 +00:00
parent e8c091573c
commit 86b869259e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gl/cogl.c: (cogl_get_features):
learn to use cpp properly.
2007-07-24 Matthew Allum <mallum@openedhand.com> 2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-media.c: (clutter_media_base_init): * clutter/clutter-media.c: (clutter_media_base_init):

View File

@ -552,7 +552,7 @@ cogl_get_features ()
gl_extensions = (const gchar*) glGetString (GL_EXTENSIONS); gl_extensions = (const gchar*) glGetString (GL_EXTENSIONS);
#ifdef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB and GL_TEXTURE_RECTANGLE_ARB #if defined(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB) && defined(GL_TEXTURE_RECTANGLE_ARB)
if (cogl_check_extension ("GL_ARB_texture_rectangle", gl_extensions) || if (cogl_check_extension ("GL_ARB_texture_rectangle", gl_extensions) ||
cogl_check_extension ("GL_EXT_texture_rectangle", gl_extensions)) cogl_check_extension ("GL_EXT_texture_rectangle", gl_extensions))
{ {