summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-13 03:31:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-13 03:31:06 +0300
commitd8e20baa960b95c1ca1dfd7b7e6fc457c695d106 (patch)
tree6fb82be3f86ddaee7ba0cfebd54c394dd8d7f5c5 /src
parent0020c3ef152041998e04a3e2d227e719509f2a63 (diff)
downloadmv-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.gz
mv-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.bz2
mv-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.xz
mv-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.zip
Fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r--src/render/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 16e28b5fe..ed613000b 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -528,7 +528,7 @@ bool Graphics::resizeScreen(const int width, const int height)
endDraw();
- const bool success = true;
+ bool success = true;
#ifdef __native_client__
if (mOpenGL != RENDER_SOFTWARE)
{
@@ -547,7 +547,7 @@ bool Graphics::resizeScreen(const int width, const int height)
else
#endif // __native_client__
{
- bool success = setVideoMode(width, height, mScale, mBpp,
+ success = setVideoMode(width, height, mScale, mBpp,
mFullscreen, mHWAccel, mEnableResize, mNoFrame);
// If it didn't work, try to restore the previous size. If that didn't