diff options
author | marha <marha@users.sourceforge.net> | 2014-05-18 14:43:25 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-05-18 14:43:25 +0200 |
commit | a27ca45b676116ebbce31973bc1a319cad76ffbf (patch) | |
tree | 098711ced704936739bc91abbd75942a815d89db /xorg-server/glamor/glamor_segment.c | |
parent | 0b89941658d6117d17555ee28c6e5d7715673705 (diff) | |
parent | 55cf29d7f748b814a2b8eb016fbf15635d56aa53 (diff) | |
download | vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.tar.gz vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.tar.bz2 vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
mesalib/src/glsl/builtin_functions.cpp
Diffstat (limited to 'xorg-server/glamor/glamor_segment.c')
-rw-r--r-- | xorg-server/glamor/glamor_segment.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xorg-server/glamor/glamor_segment.c b/xorg-server/glamor/glamor_segment.c index 84b27acce..53f7da0cb 100644 --- a/xorg-server/glamor/glamor_segment.c +++ b/xorg-server/glamor/glamor_segment.c @@ -26,14 +26,19 @@ Bool glamor_poly_segment_nf(DrawablePtr drawable, GCPtr gc, int nseg, xSegment *seg) { - return FALSE; + if (glamor_ddx_fallback_check_pixmap(drawable) && + glamor_ddx_fallback_check_gc(gc)) { + return FALSE; + } + + miPolySegment(drawable, gc, nseg, seg); + + return TRUE; } void glamor_poly_segment(DrawablePtr drawable, GCPtr gc, int nseg, xSegment *seg) { - if (glamor_poly_segment_nf(drawable, gc, nseg, seg)) - return; miPolySegment(drawable, gc, nseg, seg); } |