summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-12 20:34:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-12 20:34:14 +0300
commit58f80ebffbb354357e2650a41e233f54df3e376d (patch)
treefed81da51123c030cc6967aec893d52d34e153e0
parente81a52407a6c2286e0bf22b6fb111314340ae3be (diff)
downloadmanaplus-58f80ebffbb354357e2650a41e233f54df3e376d.tar.gz
manaplus-58f80ebffbb354357e2650a41e233f54df3e376d.tar.bz2
manaplus-58f80ebffbb354357e2650a41e233f54df3e376d.tar.xz
manaplus-58f80ebffbb354357e2650a41e233f54df3e376d.zip
fix compilation warning.
-rw-r--r--src/render/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index b33b9edcd..107573d1b 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -585,7 +585,8 @@ bool Graphics::calcImageRect(ImageVertexes *const vert,
return 0;
}
-void Graphics::setWindowSize(const int width, const int height)
+void Graphics::setWindowSize(const int width A_UNUSED,
+ const int height A_UNUSED)
{
#ifdef USE_SDL2
SDL_SetWindowSize(mWindow, width, height);