diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
commit | 9105cd947989db96a61c83493c44a336bf10a18c (patch) | |
tree | 44e736a163ffea3bde0a475734960c28233b9b1a /do_rects.c | |
parent | 76312369bde4267f6405a4e1d26697258cc06b32 (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'do_rects.c')
-rw-r--r-- | do_rects.c | 26 |
1 files changed, 11 insertions, 15 deletions
@@ -21,6 +21,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************************/ +/* $XFree86: xc/programs/x11perf/do_rects.c,v 1.5 2001/01/17 23:45:11 dawes Exp $ */ #include "x11perf.h" #include "bitmaps.h" @@ -28,10 +29,8 @@ SOFTWARE. static XRectangle *rects; static GC pgc; -int InitRectangles(xp, p, reps) - XParms xp; - Parms p; - int reps; +int +InitRectangles(XParms xp, Parms p, int reps) { int i; int size = p->special; @@ -86,10 +85,8 @@ int InitRectangles(xp, p, reps) return reps; } -void DoRectangles(xp, p, reps) - XParms xp; - Parms p; - int reps; +void +DoRectangles(XParms xp, Parms p, int reps) { int i; @@ -99,13 +96,12 @@ void DoRectangles(xp, p, reps) pgc = xp->fggc; else pgc = xp->bggc; + CheckAbort (); } } -void DoOutlineRectangles (xp, p, reps) - XParms xp; - Parms p; - int reps; +void +DoOutlineRectangles(XParms xp, Parms p, int reps) { int i; @@ -115,12 +111,12 @@ void DoOutlineRectangles (xp, p, reps) pgc = xp->fggc; else pgc = xp->bggc; + CheckAbort (); } } -void EndRectangles(xp, p) - XParms xp; - Parms p; +void +EndRectangles(XParms xp, Parms p) { free(rects); } |