mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
of (marginal) use in the drivers, and that usage remains.
This commit is contained in:
parent
a8cec1b656
commit
c3d1403672
193 changed files with 508 additions and 321 deletions
|
|
@ -29,9 +29,7 @@
|
|||
|
||||
#include "fb.h"
|
||||
#include "mizerarc.h"
|
||||
#ifdef IN_MODULE
|
||||
#include "xf86_ansic.h"
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
typedef void (*FbArc) (FbBits *dst,
|
||||
FbStride dstStride,
|
||||
|
|
@ -100,7 +98,7 @@ fbPolyArc (DrawablePtr pDrawable,
|
|||
box.x2 = x2;
|
||||
y2 = box.y1 + (int)parcs->height + 1;
|
||||
box.y2 = y2;
|
||||
if ( (x2 <= MAXSHORT) && (y2 <= MAXSHORT) &&
|
||||
if ( (x2 <= SHRT_MAX) && (y2 <= SHRT_MAX) &&
|
||||
(RECT_IN_REGION(pDrawable->pScreen, cclip, &box) == rgnIN) )
|
||||
(*arc) (dst, dstStride, dstBpp,
|
||||
parcs, pDrawable->x + dstXoff, pDrawable->y + dstYoff,
|
||||
|
|
|
|||
Loading…
Reference in a new issue