[gegl] opencl: bug in init
- From: Victor Matheus de Araujo Oliveira <vmaolive src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] opencl: bug in init
- Date: Sat, 28 Apr 2012 18:43:24 +0000 (UTC)
commit 19465724b8e297eedb35129e666bc08b00c2f89a
Author: Victor Oliveira <victormatheus gmail com>
Date: Sat Apr 28 15:39:25 2012 -0300
opencl: bug in init
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 242c017..7faf811 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") == 1)
+ if (g_getenv ("GEGL_USE_OPENCL") != NULL && !g_str_equal(g_getenv ("GEGL_USE_OPENCL"), "yes"))
config->use_opencl = FALSE;
else
config->use_opencl = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]