glamor: Remove destination drawable argument from glamor_set_texture

This argument wasn't used at all.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Keith Packard 2014-10-13 12:35:40 -07:00
parent 2bf34fe8d9
commit dcb3d74ba8
2 changed files with 4 additions and 8 deletions

View File

@ -155,8 +155,7 @@ glamor_set_solid(PixmapPtr pixmap,
}
Bool
glamor_set_texture(PixmapPtr pixmap,
PixmapPtr texture,
glamor_set_texture(PixmapPtr texture,
int off_x,
int off_y,
GLint offset_uniform,
@ -192,8 +191,7 @@ glamor_set_tiled(PixmapPtr pixmap,
if (!glamor_set_planemask(gc->depth, gc->planemask))
return FALSE;
return glamor_set_texture(pixmap,
gc->tile.pixmap,
return glamor_set_texture(gc->tile.pixmap,
-gc->patOrg.x,
-gc->patOrg.y,
offset_uniform,
@ -274,8 +272,7 @@ glamor_set_stippled(PixmapPtr pixmap,
if (!glamor_set_solid(pixmap, gc, TRUE, fg_uniform))
return FALSE;
return glamor_set_texture(pixmap,
stipple,
return glamor_set_texture(stipple,
-gc->patOrg.x,
-gc->patOrg.y,
offset_uniform,

View File

@ -39,8 +39,7 @@ glamor_set_color(PixmapPtr pixmap,
GLint uniform);
Bool
glamor_set_texture(PixmapPtr pixmap,
PixmapPtr texture,
glamor_set_texture(PixmapPtr texture,
int off_x,
int off_y,
GLint offset_uniform,