[gegl] Fix not compiling OpenCL color conversions
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Fix not compiling OpenCL color conversions
- Date: Sun, 13 Oct 2013 14:40:37 +0000 (UTC)
commit 486d526ae139a3350a9e47458893ed7039ee0a4e
Author: Daniel Sabo <DanielSabo gmail com>
Date: Sun Oct 13 07:11:03 2013 -0700
Fix not compiling OpenCL color conversions
Broken by e5a6bc6e0ea55c8f332498bba0b75e6c9cb19172
gegl/opencl/gegl-cl-init.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gegl/opencl/gegl-cl-init.c b/gegl/opencl/gegl-cl-init.c
index e53eac0..21ccda8 100644
--- a/gegl/opencl/gegl-cl-init.c
+++ b/gegl/opencl/gegl-cl-init.c
@@ -397,8 +397,7 @@ gegl_cl_init (GError **error)
/* XXX: this dict is being leaked */
cl_program_hash = g_hash_table_new (g_str_hash, g_str_equal);
- if (cl_state.is_accelerated)
- gegl_cl_color_compile_kernels();
+ gegl_cl_color_compile_kernels();
GEGL_NOTE (GEGL_DEBUG_OPENCL, "OK");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]