Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fixed off by one error in line drawing code
  • Loading branch information
slouken committed Feb 12, 2009
1 parent 6b8ebc0 commit 273bb584e1af7a90d3e937c18d8f947969dda70d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_draw.h
@@ -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; \

0 comments on commit 273bb58

Please sign in to comment.