mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
app: always disable CL before GEGL is initialized
This way we only enable if wanted in gimprc, instead of always enabling, and then disabling again if wanted in gimprc.
This commit is contained in:
parent
a6a07dd29e
commit
d4790a74fb
|
@ -84,6 +84,14 @@ void
|
|||
app_libs_init (GOptionContext *context,
|
||||
gboolean no_interface)
|
||||
{
|
||||
/* disable OpenCL before GEGL is even initialized; this way we only
|
||||
* enable if wanted in gimprc, instead of always enabling, and then
|
||||
* disabling again if wanted in gimprc
|
||||
*/
|
||||
g_object_set (gegl_config (),
|
||||
"use-opencl", FALSE,
|
||||
NULL);
|
||||
|
||||
g_option_context_add_group (context, gegl_get_option_group ());
|
||||
|
||||
#ifndef GIMP_CONSOLE_COMPILATION
|
||||
|
|
Loading…
Reference in a new issue