mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
debug: Remove CLUTTER_GLERR
The macro hasn't been used in a long while, as Cogl had its own version of it; and Clutter hasn't been using pure GL for some time now.
This commit is contained in:
parent
2d76407016
commit
92585be4d8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user