Fixed off by one error in line drawing code
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403527
This commit is contained in:
parent
377464c39e
commit
31ee34541c
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ do { \
|
|||
x = x1; \
|
||||
y = y1; \
|
||||
\
|
||||
for (i = 1; i < numpixels; ++i) { \
|
||||
for (i = 0; i < numpixels; ++i) { \
|
||||
op(x, y); \
|
||||
if (d < 0) { \
|
||||
d += dinc1; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue