diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-11-27 17:28:42 +0000 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-11-27 17:28:42 +0000 |
commit | 5c4a05897a4e1231e76278a5e683db5a1ab348a0 (patch) | |
tree | 737133c554ad9b6d689bbec20781d3654b5ac4b4 | |
parent | a0f8f5d67ffaba72a67f50123e137232d8319262 (diff) | |
download | fbtest-5c4a05897a4e1231e76278a5e683db5a1ab348a0.tar.gz |
Fix the draw_line() macro. Obviously it has never been used before...
-rw-r--r-- | include/drawops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drawops.h b/include/drawops.h index 42d74bb..c2f2f4a 100644 --- a/include/drawops.h +++ b/include/drawops.h @@ -47,8 +47,8 @@ extern struct drawops drawops; drawops.draw_rect((x), (y), (width), (height), (pixel)) #define fill_rect(x, y, width, height, pixel) \ drawops.fill_rect((x), (y), (width), (height), (pixel)) -#define draw_line(x1, y1, x2, y2) \ - drawops.draw_line((x), (y), (x2), (y2)) +#define draw_line(x1, y1, x2, y2, pixel) \ + drawops.draw_line((x1), (y1), (x2), (y2), (pixel)) #define expand_bitmap(x, y, width, height, data, pitch, pixel0, pixel1) \ drawops.expand_bitmap((x), (y), (width), (height), (data), (pitch), \ (pixel0), (pixel1)) |