summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-06 01:17:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-06 01:17:00 +0300
commitbcd99fe009fb7d8b14ca4a711befa7f156b29ae7 (patch)
treeb9136debb29ae3fe3dbdcb595a5d65092e0bf613 /src/opengl1graphics.h
parent6d8828b47e291c0e85645adb60c8969a3f8facf4 (diff)
downloadplus-bcd99fe009fb7d8b14ca4a711befa7f156b29ae7.tar.gz
plus-bcd99fe009fb7d8b14ca4a711befa7f156b29ae7.tar.bz2
plus-bcd99fe009fb7d8b14ca4a711befa7f156b29ae7.tar.xz
plus-bcd99fe009fb7d8b14ca4a711befa7f156b29ae7.zip
Add const to images in drawing functions.
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r--src/opengl1graphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h
index 5a2d6c254..113b4b8a7 100644
--- a/src/opengl1graphics.h
+++ b/src/opengl1graphics.h
@@ -53,7 +53,7 @@ class OpenGL1Graphics : public Graphics
bool setVideoMode(int w, int h, int bpp, bool fs,
bool hwaccel, bool resize, bool noFrame);
- bool drawImage(Image *image,
+ bool drawImage(const Image *image,
int srcX, int srcY,
int dstX, int dstY,
int width, int height,
@@ -77,7 +77,7 @@ class OpenGL1Graphics : public Graphics
int desiredWidth, int desiredHeight,
bool useColor, bool smooth);
- void drawImagePattern(Image *image,
+ void drawImagePattern(const Image *image,
int x, int y,
int w, int h);