summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
commit7e5386bc62f1f61d3409219292e1ec0d71cbd28e (patch)
tree3e4233abac1d52ff1103bdd8b4747a4e91b5f575 /src/render/safeopenglgraphics.cpp
parent62879acf891f1939e16fa32d2426b56f08f1609b (diff)
downloadmanaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.gz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.bz2
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.xz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.zip
fix code style.
Diffstat (limited to 'src/render/safeopenglgraphics.cpp')
-rw-r--r--src/render/safeopenglgraphics.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp
index c988e6825..08638bbe0 100644
--- a/src/render/safeopenglgraphics.cpp
+++ b/src/render/safeopenglgraphics.cpp
@@ -576,14 +576,18 @@ bool SafeOpenGLGraphics::drawNet(const int x1, const int y1,
glBegin(GL_LINES);
for (int y = y1; y < y2; y += height)
{
- glVertex2f(static_cast<float>(x1) + 0.5F, static_cast<float>(y) + 0.5F);
- glVertex2f(static_cast<float>(x2) + 0.5F, static_cast<float>(y) + 0.5F);
+ glVertex2f(static_cast<float>(x1) + 0.5F,
+ static_cast<float>(y) + 0.5F);
+ glVertex2f(static_cast<float>(x2) + 0.5F,
+ static_cast<float>(y) + 0.5F);
}
for (int x = x1; x < x2; x += width)
{
- glVertex2f(static_cast<float>(x) + 0.5F, static_cast<float>(y1) + 0.5F);
- glVertex2f(static_cast<float>(x) + 0.5F, static_cast<float>(y2) + 0.5F);
+ glVertex2f(static_cast<float>(x) + 0.5F,
+ static_cast<float>(y1) + 0.5F);
+ glVertex2f(static_cast<float>(x) + 0.5F,
+ static_cast<float>(y2) + 0.5F);
}
glEnd();