summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-26 21:08:45 +0300
commita8acf366d3e943fb636e24b69c8c67152770d2cc (patch)
tree99d51b8b56489fd03f32cd291e8570834954ac90 /src/render/normalopenglgraphics.cpp
parente2b84bddbb089f43a9c2c3741545378614481a32 (diff)
downloadmv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz
mv-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip
Fix code style.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index 36680c1ac..c3945f388 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -495,8 +495,10 @@ void NormalOpenGLGraphics::drawImageCached(const Image *restrict const image,
}
void NormalOpenGLGraphics::drawPatternCached(const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) restrict2
+ const int x,
+ const int y,
+ const int w,
+ const int h) restrict2
{
FUNC_BLOCK("Graphics::drawPatternCached", 1)
if (!image)
@@ -638,8 +640,10 @@ void NormalOpenGLGraphics::drawPattern(const Image *restrict const image,
}
void NormalOpenGLGraphics::drawPatternInline(const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) restrict2
+ const int x,
+ const int y,
+ const int w,
+ const int h) restrict2
{
FUNC_BLOCK("Graphics::drawPattern", 1)
if (!image)
@@ -732,7 +736,8 @@ void NormalOpenGLGraphics::drawRescaledPattern(const Image *
const int x, const int y,
const int w, const int h,
const int scaledWidth,
- const int scaledHeight) restrict2
+ const int scaledHeight)
+ restrict2
{
if (!image)
return;
@@ -905,8 +910,10 @@ inline void NormalOpenGLGraphics::drawVertexes(const
void NormalOpenGLGraphics::calcPattern(ImageVertexes *restrict const vert,
const Image *restrict const image,
- const int x, const int y,
- const int w, const int h) const restrict2
+ const int x,
+ const int y,
+ const int w,
+ const int h) const restrict2
{
calcPatternInline(vert, image, x, y, w, h);
}
@@ -1029,7 +1036,8 @@ void NormalOpenGLGraphics::calcTileCollection(ImageCollection *
}
void NormalOpenGLGraphics::drawTileCollection(const ImageCollection
- *restrict const vertCol) restrict2
+ *restrict const vertCol)
+ restrict2
{
if (!vertCol)
return;