mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
glamor: make the polylines complaint a little more useful.
This commit is contained in:
committed by
Zhigang Gong
parent
aa13306974
commit
8a53566acb
@@ -285,9 +285,13 @@ glamor_poly_lines(DrawablePtr drawable, GCPtr gc, int mode, int n,
|
||||
int i;
|
||||
|
||||
/* Don't try to do wide lines or non-solid fill style. */
|
||||
if (gc->lineWidth != 0 || gc->lineStyle != LineSolid ||
|
||||
if (gc->lineWidth != 0) {
|
||||
ErrorF("stub wide polylines\n");
|
||||
return;
|
||||
}
|
||||
if (gc->lineStyle != LineSolid ||
|
||||
gc->fillStyle != FillSolid) {
|
||||
ErrorF("stub poly_line depth %d\n", drawable->depth);
|
||||
ErrorF("stub poly_line non-solid fill\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user