[gegl] opencl: don't use the static qualifier in checkerboard



commit e158ef42c8dbad9813aa03a5fa37ec5520a367d1
Author: Téo Mazars <teomazars gmail com>
Date:   Tue Nov 19 11:16:15 2013 +0100

    opencl: don't use the static qualifier in checkerboard
    
    ... and remove an unused variable

 operations/common/checkerboard.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/checkerboard.c b/operations/common/checkerboard.c
index 8b9459d..93b1f65 100644
--- a/operations/common/checkerboard.c
+++ b/operations/common/checkerboard.c
@@ -76,7 +76,7 @@ get_bounding_box (GeglOperation *operation)
 }
 
 static const char* checkerboard_cl_source =
-"static inline int tile_index (int coordinate, int stride)   \n"
+"inline int tile_index (int coordinate, int stride)          \n"
 "{                                                           \n"
 "  if (coordinate >= 0)                                      \n"
 "    return coordinate / stride;                             \n"
@@ -312,11 +312,9 @@ gegl_chant_class_init (GeglChantClass *klass)
 {
   GeglOperationClass            *operation_class;
   GeglOperationSourceClass      *source_class;
-  GeglOperationPointRenderClass *point_render_class;
 
   operation_class = GEGL_OPERATION_CLASS (klass);
   source_class = GEGL_OPERATION_SOURCE_CLASS (klass);
-  point_render_class = GEGL_OPERATION_POINT_RENDER_CLASS (klass);
 
   source_class->process = operation_source_process;
   operation_class->get_bounding_box = get_bounding_box;


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