Return early from xglFillRect when no rectangles should be filled

This commit is contained in:
David Reveman 2005-03-11 12:26:20 +00:00
parent 4de5aa4285
commit 816606b9ea

View File

@ -178,6 +178,9 @@ xglFillRect (DrawablePtr pDrawable,
}
}
if (!nBox)
return;
pBox = (heapBox) ? heapBox : stackBox;
if (!xglFill (pDrawable, pGC, NULL,