14 lines
404 B
Text
14 lines
404 B
Text
$NetBSD: patch-bh,v 1.3 2007/05/25 15:50:40 bsadewitz Exp $
|
|
|
|
--- fb/fbtrap.c.orig 2006-11-16 13:01:23.000000000 -0500
|
|
+++ fb/fbtrap.c
|
|
@@ -115,6 +115,9 @@ fbRasterizeTrapezoid (PicturePtr pPic
|
|
RenderEdge l, r;
|
|
xFixed t, b;
|
|
|
|
+ if (!xTrapezoidValid (trap))
|
|
+ return;
|
|
+
|
|
fbGetDrawable (pPicture->pDrawable, buf, stride, bpp, pxoff, pyoff);
|
|
|
|
width = pPicture->pDrawable->width;
|