[gegl] gegl-init: default to not use OpenCL
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-init: default to not use OpenCL
- Date: Mon, 2 Apr 2012 17:52:38 +0000 (UTC)
commit 163625cfe0b390a59bc8afeb18d144f2be9040a3
Author: Ãyvind KolÃs <pippin gimp org>
Date: Mon Apr 2 18:51:43 2012 +0100
gegl-init: default to not use OpenCL
For the upcoming release only,. it is not stable enough to be enabled by
defualt, memory leaks and some imprecisions are currently blocking it.
gegl/gegl-init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index eb44817..896cca8 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -302,7 +302,7 @@ GeglConfig *gegl_config (void)
}
}
- if (g_getenv ("GEGL_USE_OPENCL") == NULL || strcmp(g_getenv ("GEGL_USE_OPENCL"), "yes") == 0)
+ if (g_getenv ("GEGL_USE_OPENCL") != NULL && strcmp(g_getenv ("GEGL_USE_OPENCL"), "yes") == 0)
config->use_opencl = TRUE;
else
config->use_opencl = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]