summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-11 12:01:31 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-11 11:58:10 +0100
commita09f70586df52d9d3156d64de5fbc6a2b92a1cce (patch)
tree0c5057c229c8bdc151128291548aa64a6e53e15d /src
parent4f5d42f6e59010ceaa68bff9be4353aa5f4d2e53 (diff)
gl: Remove unused alpha argument from operand_emit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/cairo-gl-composite.c6
-rw-r--r--src/cairo-gl-operand.c3
-rw-r--r--src/cairo-gl-private.h3
3 files changed, 5 insertions, 7 deletions
diff --git a/src/cairo-gl-composite.c b/src/cairo-gl-composite.c
index 382b13b5..5bce04d5 100644
--- a/src/cairo-gl-composite.c
+++ b/src/cairo-gl-composite.c
@@ -656,8 +656,8 @@ _cairo_gl_composite_emit_vertex (cairo_gl_context_t *ctx,
*vb++ = x;
*vb++ = y;
- _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_SOURCE], &vb, x, y, alpha);
- _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_MASK ], &vb, x, y, alpha);
+ _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_SOURCE], &vb, x, y);
+ _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_MASK ], &vb, x, y);
if (ctx->spans) {
union fi {
@@ -706,7 +706,7 @@ _cairo_gl_composite_emit_glyph_vertex (cairo_gl_context_t *ctx,
*vb++ = x;
*vb++ = y;
- _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_SOURCE], &vb, x, y, 0);
+ _cairo_gl_operand_emit (&ctx->operands[CAIRO_GL_TEX_SOURCE], &vb, x, y);
*vb++ = glyph_x;
*vb++ = glyph_y;
diff --git a/src/cairo-gl-operand.c b/src/cairo-gl-operand.c
index f0f76563..a7e187ea 100644
--- a/src/cairo-gl-operand.c
+++ b/src/cairo-gl-operand.c
@@ -600,8 +600,7 @@ void
_cairo_gl_operand_emit (cairo_gl_operand_t *operand,
GLfloat ** vb,
GLfloat x,
- GLfloat y,
- uint8_t alpha)
+ GLfloat y)
{
switch (operand->type) {
default:
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index 6d8aab86..90271786 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -636,8 +636,7 @@ cairo_private void
_cairo_gl_operand_emit (cairo_gl_operand_t *operand,
GLfloat ** vb,
GLfloat x,
- GLfloat y,
- uint8_t alpha);
+ GLfloat y);
cairo_private void
_cairo_gl_operand_copy (cairo_gl_operand_t *dst,