diff options
author | scuri <scuri> | 2009-11-27 22:44:15 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-11-27 22:44:15 +0000 |
commit | d96819756a30e82b52798487343a4fcbdec11a88 (patch) | |
tree | 628d1c0bc03ee7eb443dba2850d34b589f2d32c1 /src/sim/sim_primitives.c | |
parent | c4ca69d3fa84dca98dce71c7a71b61413d6be165 (diff) |
Fixed: polygon filling in the IMAGERGB driver when the segments contain horizontal lines.
Diffstat (limited to 'src/sim/sim_primitives.c')
-rw-r--r-- | src/sim/sim_primitives.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_primitives.c b/src/sim/sim_primitives.c index 5f5e0a3..78f7be0 100644 --- a/src/sim/sim_primitives.c +++ b/src/sim/sim_primitives.c @@ -142,7 +142,7 @@ void cdarcSIM(cdCtxCanvas* ctxcanvas, int xc, int yc, int width, int height, dou cdCanvas* canvas = ((cdCtxCanvasBase*)ctxcanvas)->canvas; double c, s, sx, sy, x, y, prev_x, prev_y; double da; - int i, yc2 = 2*yc, p, + int i, yc2 = 2*yc, p = 0, last_xi_a = -65535, last_yi_a = -65535, last_xi_b = -65535, |