glamor: Drop duplicated lines for getting pixmap state in GetImage.
No change in generated code size -- apparently the compiler figured it out. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Markus Wick <markus@selfnet.de>
This commit is contained in:
parent
e23dd41195
commit
d036d22a95
|
@ -44,8 +44,6 @@ _glamor_get_image(DrawablePtr drawable, int x, int y, int w, int h,
|
||||||
|
|
||||||
if (format != ZPixmap)
|
if (format != ZPixmap)
|
||||||
goto fall_back;
|
goto fall_back;
|
||||||
pixmap = glamor_get_drawable_pixmap(drawable);
|
|
||||||
glamor_get_drawable_deltas(drawable, pixmap, &x_off, &y_off);
|
|
||||||
|
|
||||||
if (!glamor_set_planemask(pixmap, planeMask)) {
|
if (!glamor_set_planemask(pixmap, planeMask)) {
|
||||||
glamor_fallback("Failedto set planemask in glamor_solid.\n");
|
glamor_fallback("Failedto set planemask in glamor_solid.\n");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user