summaryrefslogtreecommitdiff
path: root/xserver/fb/fbgetsp.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
commitd4a0bed4b91da9de86c311c7fef9a8aa9a6f500c (patch)
treea1b439049dee87bc951e190db93f5bbe8b43b0b5 /xserver/fb/fbgetsp.c
parentb6bc775539a31f663f9e22ce3ccaf0aa96adf3b6 (diff)
Update to xserver 1.20.5. Tested by jsg@
Diffstat (limited to 'xserver/fb/fbgetsp.c')
-rw-r--r--xserver/fb/fbgetsp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xserver/fb/fbgetsp.c b/xserver/fb/fbgetsp.c
index 9a163b27e..445a4e385 100644
--- a/xserver/fb/fbgetsp.c
+++ b/xserver/fb/fbgetsp.c
@@ -44,11 +44,6 @@ fbGetSpans(DrawablePtr pDrawable,
if (!fbDrawableEnabled(pDrawable))
return;
- if (pDrawable->bitsPerPixel != BitsPerPixel(pDrawable->depth)) {
- fb24_32GetSpans(pDrawable, wMax, ppt, pwidth, nspans, pchardstStart);
- return;
- }
-
fbGetDrawable(pDrawable, src, srcStride, srcBpp, srcXoff, srcYoff);
while (nspans--) {