summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-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