summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-23 22:39:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-24 15:05:41 +0300
commite8fc638b750514ec264598df79a409da97493816 (patch)
treef6530b6f1f1b56ab8a8131a472748db5d640fac3 /src/mobileopenglgraphics.cpp
parentd553924a7f8c911d944207f7431b7e0ebd2b0fe8 (diff)
downloadmanaplus-e8fc638b750514ec264598df79a409da97493816.tar.gz
manaplus-e8fc638b750514ec264598df79a409da97493816.tar.bz2
manaplus-e8fc638b750514ec264598df79a409da97493816.tar.xz
manaplus-e8fc638b750514ec264598df79a409da97493816.zip
Fix code style.
Diffstat (limited to 'src/mobileopenglgraphics.cpp')
-rw-r--r--src/mobileopenglgraphics.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mobileopenglgraphics.cpp b/src/mobileopenglgraphics.cpp
index 0a4029621..52e013f41 100644
--- a/src/mobileopenglgraphics.cpp
+++ b/src/mobileopenglgraphics.cpp
@@ -535,7 +535,8 @@ inline void MobileOpenGLGraphics::drawVertexes(const
{
const std::vector<GLfloat*> &floatTexPool = ogl.mFloatTexPool;
std::vector<GLfloat*>::const_iterator ft;
- const std::vector<GLfloat*>::const_iterator ft_end = floatTexPool.end();
+ const std::vector<GLfloat*>::const_iterator
+ ft_end = floatTexPool.end();
for (iv = shortVertPool.begin(), ft = floatTexPool.begin(),
ivp = vp.begin();
@@ -922,7 +923,11 @@ void MobileOpenGLGraphics::setColor(const gcn::Color& color)
mColorAlpha = (color.a != 255);
}
+#ifdef ANDROID
+void MobileOpenGLGraphics::drawPoint(int x A_UNUSED, int y A_UNUSED)
+#else
void MobileOpenGLGraphics::drawPoint(int x, int y)
+#endif
{
setTexturingAndBlending(false);
restoreColor();