diff --git a/cogl/cogl/cogl-debug.c b/cogl/cogl/cogl-debug.c index 350b83d97..e58c14ab1 100644 --- a/cogl/cogl/cogl-debug.c +++ b/cogl/cogl/cogl-debug.c @@ -150,12 +150,8 @@ _cogl_parse_debug_string_for_keys (const char *value, void _cogl_parse_debug_string (const char *value, - gboolean enable, - gboolean ignore_help) + gboolean enable) { - if (ignore_help && strcmp (value, "help") == 0) - return; - /* We don't want to let g_parse_debug_string handle "all" because * literally enabling all the debug options wouldn't be useful to * anyone; instead the all option enables all non behavioural @@ -214,8 +210,7 @@ _cogl_debug_check_environment (void) if (env_string != NULL) { _cogl_parse_debug_string (env_string, - TRUE /* enable the flags */, - FALSE /* don't ignore help */); + TRUE /* enable the flags */); env_string = NULL; } @@ -223,8 +218,7 @@ _cogl_debug_check_environment (void) if (env_string != NULL) { _cogl_parse_debug_string (env_string, - FALSE /* disable the flags */, - FALSE /* don't ignore help */); + FALSE /* disable the flags */); env_string = NULL; } } diff --git a/cogl/cogl/cogl-debug.h b/cogl/cogl/cogl-debug.h index 80980adf2..d3bad009a 100644 --- a/cogl/cogl/cogl-debug.h +++ b/cogl/cogl/cogl-debug.h @@ -115,7 +115,6 @@ _cogl_debug_check_environment (void); void _cogl_parse_debug_string (const char *value, - gboolean enable, - gboolean ignore_help); + gboolean enable); G_END_DECLS