From 7760ed560001714494d7a7de470123a4cd565873 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Oct 2012 02:52:22 +0300 Subject: improve map draw speed. --- src/graphics.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/graphics.cpp') diff --git a/src/graphics.cpp b/src/graphics.cpp index 6657fe3c1..4580c1015 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -786,8 +786,9 @@ void Graphics::calcImagePattern(GraphicsVertexes* const vert, vert->incPtr(1); } -void Graphics::calcTile(ImageVertexes *const vert, const Image *const image, - int x, int y) +void Graphics::calcTile(ImageVertexes *const vert A_UNUSED, + const Image *const image A_UNUSED, + int x A_UNUSED, int y A_UNUSED) { } @@ -821,7 +822,7 @@ void Graphics::calcTile(ImageVertexes *const vert, int x, int y) } } -void Graphics::drawTile(const ImageVertexes *const vert) +void Graphics::drawTile(ImageVertexes *const vert) { // vert and img must be != 0 const Image *const img = vert->image; -- cgit v1.2.3-60-g2f50