diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-13 03:31:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-13 03:31:06 +0300 |
commit | d8e20baa960b95c1ca1dfd7b7e6fc457c695d106 (patch) | |
tree | 6fb82be3f86ddaee7ba0cfebd54c394dd8d7f5c5 | |
parent | 0020c3ef152041998e04a3e2d227e719509f2a63 (diff) | |
download | manaplus-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.gz manaplus-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.bz2 manaplus-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.tar.xz manaplus-d8e20baa960b95c1ca1dfd7b7e6fc457c695d106.zip |
Fix compilation warning.
-rw-r--r-- | src/render/graphics.cpp | 4 |
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 |