summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:35 +0300
commit7f9d948a34c0afeb2fbf3e663d058048248b622f (patch)
treee39b895cf4b6fd8391474f139e794751dd28ae52 /src/resources/openglimagehelper.cpp
parent05f6f3e94abc5c1e1801d62100cef494e2711474 (diff)
downloadmanaplus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.gz
manaplus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.bz2
manaplus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.xz
manaplus-7f9d948a34c0afeb2fbf3e663d058048248b622f.zip
Add missing const and static into resource classes.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index d855323d1..5a0a91fc1 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -110,7 +110,7 @@ Image *OpenGLImageHelper::createTextSurface(SDL_Surface *const tmpImage,
return img;
}
-int OpenGLImageHelper::powerOfTwo(const int input) const
+int OpenGLImageHelper::powerOfTwo(const int input)
{
int value;
if (mTextureType == GL_TEXTURE_2D)