From e8fc638b750514ec264598df79a409da97493816 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Nov 2012 22:39:54 +0300 Subject: Fix code style. --- src/mobileopenglgraphics.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mobileopenglgraphics.cpp') 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 &floatTexPool = ogl.mFloatTexPool; std::vector::const_iterator ft; - const std::vector::const_iterator ft_end = floatTexPool.end(); + const std::vector::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(); -- cgit v1.2.3-70-g09d2