diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-09 14:26:28 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-12-10 16:38:46 +0000 |
commit | bb23335b5fd29fb1d63e99b8f9eb32c5f11b4405 (patch) | |
tree | e7a95bf82888da81c7f2ec735c71465b30e5e11c /clutter | |
parent | 2c524fbf73cf5348cc1b03cced4a6b1c4c2f0224 (diff) | |
download | clutter-bb23335b5fd29fb1d63e99b8f9eb32c5f11b4405.tar.gz |
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
Diffstat (limited to 'clutter')
-rw-r--r-- | clutter/clutter-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-backend.c b/clutter/clutter-backend.c index 62f33ec0b..71710e395 100644 --- a/clutter/clutter-backend.c +++ b/clutter/clutter-backend.c @@ -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; |