summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:57 +0300
commit60b386b1a97a052cea867dd3a4f7a9c52394b312 (patch)
tree92198a6b8adb4b16d9c40dc01588bb10a34264be
parent20dd40fe09e291bb484570075baed2dcf4208537 (diff)
downloadplus-60b386b1a97a052cea867dd3a4f7a9c52394b312.tar.gz
plus-60b386b1a97a052cea867dd3a4f7a9c52394b312.tar.bz2
plus-60b386b1a97a052cea867dd3a4f7a9c52394b312.tar.xz
plus-60b386b1a97a052cea867dd3a4f7a9c52394b312.zip
Add missing const and static into render classes.
-rw-r--r--src/render/graphics.cpp2
-rw-r--r--src/render/sdl2softwaregraphics.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 6ad1c67d7..eff4df562 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -373,7 +373,7 @@ bool Graphics::videoInfo()
mDoubleBuffer = ((mWindow->flags & SDL_DOUBLEBUF) == SDL_DOUBLEBUF);
logger->log("Double buffer mode: %s", mDoubleBuffer ? "yes" : "no");
- imageHelper->dumpSurfaceFormat(mWindow);
+ ImageHelper::dumpSurfaceFormat(mWindow);
const SDL_VideoInfo *const vi = SDL_GetVideoInfo();
if (!vi)
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 088aba98c..b693cd132 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -1487,7 +1487,7 @@ bool SDL2SoftwareGraphics::setVideoMode(const int w, const int h,
}
mSurface = SDL_GetWindowSurface(mWindow);
- imageHelper->dumpSurfaceFormat(mSurface);
+ IimageHelper::dumpSurfaceFormat(mSurface);
SDL2SoftwareImageHelper::setFormat(mSurface->format);
int w1 = 0;