diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-21 04:08:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-21 13:19:22 +0300 |
commit | 459c2c3a6decbd5576760040f566f1544645c3ac (patch) | |
tree | 16917971820b11a99acc4f875f977811e4474670 /src/safeopenglgraphics.h | |
parent | 08d0c6de4aa164c690d94622e4a6a6ea57a9efaf (diff) | |
download | mv-459c2c3a6decbd5576760040f566f1544645c3ac.tar.gz mv-459c2c3a6decbd5576760040f566f1544645c3ac.tar.bz2 mv-459c2c3a6decbd5576760040f566f1544645c3ac.tar.xz mv-459c2c3a6decbd5576760040f566f1544645c3ac.zip |
Add some consts to draw backend.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r-- | src/safeopenglgraphics.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index b377874ad..1b84689df 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -55,7 +55,7 @@ class SafeOpenGLGraphics final : public Graphics /** * Draws a resclaled version of the image */ - bool drawRescaledImage(Image *const image, int srcX, int srcY, + bool drawRescaledImage(const Image *const image, int srcX, int srcY, int dstX, int dstY, const int width, const int height, const int desiredWidth, const int desiredHeight, @@ -64,7 +64,7 @@ class SafeOpenGLGraphics final : public Graphics /** * Used to get the smooth rescale option over the standard function. */ - bool drawRescaledImage(Image *const image, int srcX, int srcY, + bool drawRescaledImage(const Image *const image, int srcX, int srcY, int dstX, int dstY, const int width, const int height, const int desiredWidth, const int desiredHeight, @@ -100,9 +100,9 @@ class SafeOpenGLGraphics final : public Graphics const ImageRect &imgRect) override; void calcTile(ImageVertexes *const vert, const Image *const image, - int x, int y) override; + int x, int y) const override; - void drawTile(ImageVertexes *const vert) override; + void drawTile(const ImageVertexes *const vert) override; void updateScreen() override; @@ -120,7 +120,7 @@ class SafeOpenGLGraphics final : public Graphics void drawLine(int x1, int y1, int x2, int y2); - void drawRectangle(const gcn::Rectangle &rect, bool filled); + void drawRectangle(const gcn::Rectangle &rect, const bool filled); void drawRectangle(const gcn::Rectangle &rect); |