[gegl] Don't disable OpenCL when one operation fails



commit 39515d58a9a212664966d7449dc0ff181834762c
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Thu Oct 24 02:05:43 2013 -0700

    Don't disable OpenCL when one operation fails

 gegl/operation/gegl-operation-point-filter.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-point-filter.c b/gegl/operation/gegl-operation-point-filter.c
index d9497df..ebaae07 100644
--- a/gegl/operation/gegl-operation-point-filter.c
+++ b/gegl/operation/gegl-operation-point-filter.c
@@ -118,7 +118,6 @@ gegl_operation_point_filter_cl_process (GeglOperation       *operation,
                 if (err)
                   {
                     GEGL_NOTE (GEGL_DEBUG_OPENCL, "Error: %s", operation_class->name);
-                    gegl_cl_disable();
                     return FALSE;
                   }
               }
@@ -154,7 +153,6 @@ gegl_operation_point_filter_cl_process (GeglOperation       *operation,
 
 error:
   GEGL_NOTE (GEGL_DEBUG_OPENCL, "Error: %s", gegl_cl_errstring(cl_err));
-  gegl_cl_disable();
   return FALSE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]