diff --git a/clutter/clutter-debug.h b/clutter/clutter-debug.h index eb4bd3697..8faaf4899 100644 --- a/clutter/clutter-debug.h +++ b/clutter/clutter-debug.h @@ -71,18 +71,9 @@ typedef enum { } } G_STMT_END #endif -#define CLUTTER_GLERR() G_STMT_START { \ - if (clutter_debug_flags & CLUTTER_DEBUG_GL) { \ - GLenum _err = glGetError (); /* roundtrip */ \ - if (_err != GL_NO_ERROR) \ - g_warning (G_STRLOC ": GL Error %x", _err); \ - } } G_STMT_END - - #else /* !CLUTTER_ENABLE_DEBUG */ #define CLUTTER_NOTE(type,...) G_STMT_START { } G_STMT_END -#define CLUTTER_GLERR() G_STMT_START { } G_STMT_END #define CLUTTER_HAS_DEBUG(type) FALSE #endif /* CLUTTER_ENABLE_DEBUG */