diff options
Diffstat (limited to 'src/blitter/common.hpp')
-rw-r--r-- | src/blitter/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/common.hpp b/src/blitter/common.hpp index b5040b127..aaf63cd6a 100644 --- a/src/blitter/common.hpp +++ b/src/blitter/common.hpp @@ -45,7 +45,7 @@ void Blitter::DrawLineGeneric(int x, int y, int x2, int y2, int screen_width, in return; } - int frac_diff = width * max(dx, dy); + int frac_diff = width * std::max(dx, dy); if (width > 1) { /* compute frac_diff = width * sqrt(dx*dx + dy*dy) * Start interval: |