gl: Remove unused alpha argument from operand_emit

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-10-11 12:01:31 +01:00
parent 4f5d42f6e5
commit a09f70586d
3 changed files with 5 additions and 7 deletions

View file

@ -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;

View file

@ -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:

View file

@ -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,