mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Add the group from cogl_get_option_group() to the GOptionContext
Otherwise it's not possible to use the COGL_DEBUG environment variable. https://bugzilla.gnome.org/show_bug.cgi?id=609350
This commit is contained in:
parent
fb3d352d3a
commit
bd90fd7033
@ -341,6 +341,7 @@ meta_parse_options (int *argc, char ***argv,
|
||||
ctx = g_option_context_new (NULL);
|
||||
g_option_context_add_main_entries (ctx, options, "mutter");
|
||||
g_option_context_add_group (ctx, clutter_get_option_group_without_init ());
|
||||
g_option_context_add_group (ctx, cogl_get_option_group ());
|
||||
|
||||
if (!g_option_context_parse (ctx, argc, argv, &error))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user