mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Add a configuration option for deciding the Cogl drivers to use
Using environment variables only is not convenient for all platforms, and in some cases it's beneficial to decide the default driver when building Clutter. Cogl already has a similar configuration switch, and since Clutter is overriding the default Cogl behaviour, it should offer the same mechanism. https://bugzilla.gnome.org/show_bug.cgi?id=742678
This commit is contained in:
@ -386,7 +386,7 @@ clutter_backend_real_create_context (ClutterBackend *backend,
|
||||
int i;
|
||||
|
||||
if (allowed_drivers == NULL)
|
||||
allowed_drivers = "*";
|
||||
allowed_drivers = CLUTTER_DRIVERS;
|
||||
|
||||
allow_any = strstr (allowed_drivers, "*") != NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user