aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.h
diff options
context:
space:
mode:
authorJohannes Schickel2016-02-21 14:41:29 +0100
committerJohannes Schickel2016-02-21 14:41:29 +0100
commit5bc3a5aa3f1ed9eeb5a65b509d1bccb50ec43015 (patch)
treebc037147d1089e45c675ad281cea08becdebb7b6 /graphics/VectorRendererSpec.h
parent0e7facad7640a67aafac54ae2b63ac07a4c1cbda (diff)
downloadscummvm-rg350-5bc3a5aa3f1ed9eeb5a65b509d1bccb50ec43015.tar.gz
scummvm-rg350-5bc3a5aa3f1ed9eeb5a65b509d1bccb50ec43015.tar.bz2
scummvm-rg350-5bc3a5aa3f1ed9eeb5a65b509d1bccb50ec43015.zip
GRAPHICS: Let drawLineAlg in VectorRenderer code take unsigned dx, dy.
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r--graphics/VectorRendererSpec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h
index f47cc3997a..3e54608b8e 100644
--- a/graphics/VectorRendererSpec.h
+++ b/graphics/VectorRendererSpec.h
@@ -150,7 +150,7 @@ protected:
* @see VectorRendererAA::drawCircleAlg
*/
virtual void drawLineAlg(int x1, int y1, int x2, int y2,
- int dx, int dy, PixelType color);
+ uint dx, uint dy, PixelType color);
virtual void drawCircleAlg(int x, int y, int r,
PixelType color, FillMode fill_m);
@@ -278,7 +278,7 @@ protected:
*
* @see VectorRenderer::drawLineAlg()
*/
- virtual void drawLineAlg(int x1, int y1, int x2, int y2, int dx, int dy, PixelType color);
+ virtual void drawLineAlg(int x1, int y1, int x2, int y2, uint dx, uint dy, PixelType color);
/**
* "Wu's Circle Antialiasing Algorithm" as published by Xiaolin Wu, July 1991