summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.h
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.h
parent05f6f3e94abc5c1e1801d62100cef494e2711474 (diff)
downloadplus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.gz
plus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.bz2
plus-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.xz
plus-7f9d948a34c0afeb2fbf3e663d058048248b622f.zip
Add missing const and static into resource classes.
Diffstat (limited to 'src/resources/openglimagehelper.h')
-rw-r--r--src/resources/openglimagehelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h
index 6c6492eb4..2f203a00a 100644
--- a/src/resources/openglimagehelper.h
+++ b/src/resources/openglimagehelper.h
@@ -123,7 +123,7 @@ class OpenGLImageHelper final : public ImageHelper
/**
* Returns the first power of two equal or bigger than the input.
*/
- int powerOfTwo(const int input) const A_WARN_UNUSED;
+ static int powerOfTwo(const int input) A_WARN_UNUSED;
Image *glLoad(SDL_Surface *tmpImage,
int width = 0, int height = 0) const A_WARN_UNUSED;