Commit 31ee3454 authored by Sam Lantinga's avatar Sam Lantinga

Fixed off by one error in line drawing code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403527
parent 377464c3
......@@ -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; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment