summaryrefslogtreecommitdiff
path: root/src/cairo-gl-gradient.c
diff options
context:
space:
mode:
authorhk57.kim <hk57.kim@samsung.com>2016-03-16 16:42:19 +0900
committerhk57.kim <hk57.kim@samsung.com>2016-03-16 16:42:19 +0900
commitaf39a3b110b53f9ab84de1a91483b5fc952ce6c0 (patch)
tree4556e9cd9ecfa282308bd796343a6634db83eadb /src/cairo-gl-gradient.c
parentea5563808b7f553121fbed5bc6b4bf908b1a8c05 (diff)
downloadcairo-accepted/tizen/common/20160406.143944.tar.gz
cairo-accepted/tizen/common/20160406.143944.tar.bz2
cairo-accepted/tizen/common/20160406.143944.zip
Change-Id: Iff4a3ad9811ba4454be3e29d8876a5f3974f4c7f Signed-off-by: hk57.kim <hk57.kim@samsung.com>
Diffstat (limited to 'src/cairo-gl-gradient.c')
-rw-r--r--src/cairo-gl-gradient.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-gl-gradient.c b/src/cairo-gl-gradient.c
index 325612b0f..53801fffc 100644
--- a/src/cairo-gl-gradient.c
+++ b/src/cairo-gl-gradient.c
@@ -83,6 +83,8 @@ _cairo_gl_gradient_sample_width (unsigned int n_stops,
return (width + 7) & -8;
}
+/*
+ # to avoid warning : defined but not used [-Wunused-function]
static uint8_t premultiply(double c, double a)
{
int v = c * a * 256;
@@ -103,6 +105,7 @@ static uint32_t color_stop_to_pixel(const cairo_gradient_stop_t *stop)
else
return a << 0 | r << 8 | g << 16 | b << 24;
}
+*/
static cairo_status_t
_cairo_gl_gradient_render (const cairo_gl_context_t *ctx,