mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-06 14:00:41 +01:00
gl: Remove unused alpha argument from operand_emit
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4f5d42f6e5
commit
a09f70586d
3 changed files with 5 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue