mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
cogl debug: Adds missing guards around debug cogl_args[]
commit 511e5ceb51
accidentally removed the #ifdef COGL_ENABLE_DEBUG
guards around the "cogl-debug" and "cogl-no-debug" cogl_args[] which
this patch restores.
This commit is contained in:
parent
d32b4b1c12
commit
c3917c8da5
@ -157,10 +157,12 @@ cogl_arg_no_debug_cb (const char *key,
|
||||
#endif /* COGL_ENABLE_DEBUG */
|
||||
|
||||
static GOptionEntry cogl_args[] = {
|
||||
#ifdef COGL_ENABLE_DEBUG
|
||||
{ "cogl-debug", 0, 0, G_OPTION_ARG_CALLBACK, cogl_arg_debug_cb,
|
||||
N_("COGL debugging flags to set"), "FLAGS" },
|
||||
{ "cogl-no-debug", 0, 0, G_OPTION_ARG_CALLBACK, cogl_arg_no_debug_cb,
|
||||
N_("COGL debugging flags to unset"), "FLAGS" },
|
||||
#endif /* COGL_ENABLE_DEBUG */
|
||||
{ NULL, },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user