summaryrefslogtreecommitdiff
path: root/src/normalopenglgraphics.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/normalopenglgraphics.cpp
parentd553924a7f8c911d944207f7431b7e0ebd2b0fe8 (diff)
downloadmv-e8fc638b750514ec264598df79a409da97493816.tar.gz
mv-e8fc638b750514ec264598df79a409da97493816.tar.bz2
mv-e8fc638b750514ec264598df79a409da97493816.tar.xz
mv-e8fc638b750514ec264598df79a409da97493816.zip
Fix code style.
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r--src/normalopenglgraphics.cpp11
1 files changed, 7 insertions, 4 deletions
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<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 = intVertPool.begin(), ft = floatTexPool.begin(),
ivp = vp.begin();