summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorDaniel Sabo <DanielSabo@gmail.com>2013-11-02 17:37:34 -0700
committerDaniel Sabo <DanielSabo@gmail.com>2013-11-02 17:38:52 -0700
commit17cb1892c385bab207c46255a591a8a3e4811b5e (patch)
treeac85ecc025e29a3b6aa95da3b70c6b85ee779cc3 /opencl
parent7144d47bed8e35f303a0842b5c064166cd80f716 (diff)
opencl: Rebuild kernel strings
Diffstat (limited to 'opencl')
-rw-r--r--opencl/colors.cl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opencl/colors.cl.h b/opencl/colors.cl.h
index 3d8c882a..6bc293ae 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"