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/normalopenglgraphics.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/normalopenglgraphics.cpp') diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp index eff2a62b9..11cc8ab5f 100644 --- a/src/normalopenglgraphics.cpp +++ b/src/normalopenglgraphics.cpp @@ -263,8 +263,9 @@ bool NormalOpenGLGraphics::drawImage2(const Image *const image, return true; } -bool NormalOpenGLGraphics::drawRescaledImage(const Image *const image, int srcX, - int srcY, int dstX, int dstY, +bool NormalOpenGLGraphics::drawRescaledImage(const Image *const image, + int srcX, int srcY, + int dstX, int dstY, const int width, const int height, const int desiredWidth, const int desiredHeight, @@ -619,7 +620,8 @@ void NormalOpenGLGraphics::drawRescaledImagePattern(const Image *const image, } } -void NormalOpenGLGraphics::drawImagePattern2(const GraphicsVertexes *const vert, +void NormalOpenGLGraphics::drawImagePattern2(const GraphicsVertexes + *const vert, const Image *const image) { if (!image) @@ -651,7 +653,8 @@ inline void NormalOpenGLGraphics::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 = intVertPool.begin(), ft = floatTexPool.begin(), ivp = vp.begin(); -- cgit v1.2.3-70-g09d2