mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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:
parent
e8c091573c
commit
86b869259e
@ -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>
|
||||
|
||||
* clutter/clutter-media.c: (clutter_media_base_init):
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user