1
0
Fork 0

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 1001838b33
commit f5f0fe94fd

View file

@ -552,7 +552,7 @@ cogl_get_features ()
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) ||
cogl_check_extension ("GL_EXT_texture_rectangle", gl_extensions))
{