summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-18 15:19:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 15:19:00 +0300
commit8eb9db8822507e59789f441a4d3eb5e755f6ddaa (patch)
treead9bcd8c7b831a605c2259571363ca2def0e715f /src
parent924dfdb11eb71a2b45bac78362e7b111b9dfce98 (diff)
downloadmanaplus-8eb9db8822507e59789f441a4d3eb5e755f6ddaa.tar.gz
manaplus-8eb9db8822507e59789f441a4d3eb5e755f6ddaa.tar.bz2
manaplus-8eb9db8822507e59789f441a4d3eb5e755f6ddaa.tar.xz
manaplus-8eb9db8822507e59789f441a4d3eb5e755f6ddaa.zip
fix compilation warnings.
Diffstat (limited to 'src')
-rw-r--r--src/safeopenglgraphics.cpp32
1 files changed, 19 insertions, 13 deletions
diff --git a/src/safeopenglgraphics.cpp b/src/safeopenglgraphics.cpp
index 2e8666e55..dd66011a9 100644
--- a/src/safeopenglgraphics.cpp
+++ b/src/safeopenglgraphics.cpp
@@ -345,17 +345,21 @@ void SafeOpenGLGraphics::calcTile(ImageVertexes *const vert A_UNUSED,
{
}
-void SafeOpenGLGraphics::calcImagePattern(ImageVertexes *const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void SafeOpenGLGraphics::calcImagePattern(ImageVertexes *const vert A_UNUSED,
+ const Image *const image A_UNUSED,
+ const int x A_UNUSED,
+ const int y A_UNUSED,
+ const int w A_UNUSED,
+ const int h A_UNUSED) const
{
}
-void SafeOpenGLGraphics::calcImagePattern(ImageCollection *const vert,
- const Image *const image,
- const int x, const int y,
- const int w, const int h) const
+void SafeOpenGLGraphics::calcImagePattern(ImageCollection *const vert A_UNUSED,
+ const Image *const image A_UNUSED,
+ const int x A_UNUSED,
+ const int y A_UNUSED,
+ const int w A_UNUSED,
+ const int h A_UNUSED) const
{
}
@@ -363,7 +367,8 @@ void SafeOpenGLGraphics::drawTile(const ImageVertexes *const vert A_UNUSED)
{
}
-void SafeOpenGLGraphics::drawTile(const ImageCollection *const vertCol)
+void SafeOpenGLGraphics::drawTile(const ImageCollection *const
+ vertCol A_UNUSED)
{
}
@@ -376,11 +381,12 @@ void SafeOpenGLGraphics::updateScreen()
BLOCK_END("Graphics::updateScreen")
}
-bool SafeOpenGLGraphics::calcWindow(ImageCollection *const vertCol,
- const int x, const int y,
- const int w, const int h,
- const ImageRect &imgRect)
+bool SafeOpenGLGraphics::calcWindow(ImageCollection *const vertCol A_UNUSED,
+ const int x A_UNUSED, const int y A_UNUSED,
+ const int w A_UNUSED, const int h A_UNUSED,
+ const ImageRect &imgRect A_UNUSED)
{
+ return false;
}
void SafeOpenGLGraphics::_beginDraw()