[gegl] opencl: Rebuild kernel strings



commit 17cb1892c385bab207c46255a591a8a3e4811b5e
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Sat Nov 2 17:37:34 2013 -0700

    opencl: Rebuild kernel strings
    
    Update missed in 7144d47bed8e35f303a0842b5c064166cd80f716.

 opencl/colors.cl.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/opencl/colors.cl.h b/opencl/colors.cl.h
index 3d8c882..6bc293a 100644
--- a/opencl/colors.cl.h
+++ b/opencl/colors.cl.h
@@ -31,14 +31,14 @@ static const char* colors_cl_source =
 "#define BABL_ALPHA_THRESHOLD 0.0f                                             \n"
 "                                                                              \n"
 "/* babl reference file: babl/base/util.h */                                   \n"
-"static float linear_to_gamma_2_2 (float value)                                \n"
+"float linear_to_gamma_2_2 (float value)                                       \n"
 "{                                                                             \n"
 "  if (value > 0.003130804954f)                                                \n"
 "    return 1.055f * native_powr (value, (1.0f/2.4f)) - 0.055f;                \n"
 "  return 12.92f * value;                                                      \n"
 "}                                                                             \n"
 "                                                                              \n"
-"static float gamma_2_2_to_linear (float value)                                \n"
+"float gamma_2_2_to_linear (float value)                                       \n"
 "{                                                                             \n"
 "  if (value > 0.04045f)                                                       \n"
 "    return native_powr ((value + 0.055f) / 1.055f, 2.4f);                     \n"


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