summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.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/modernopenglgraphics.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/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index f8e9e51f5..5d49695fa 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -377,7 +377,8 @@ void ModernOpenGLGraphics::testDraw() restrict2
void ModernOpenGLGraphics::drawImageCached(const Image *restrict const image
A_UNUSED,
- int A_UNUSED x, int y A_UNUSED) restrict2
+ int A_UNUSED x,
+ int y A_UNUSED) restrict2
{
}
@@ -435,8 +436,10 @@ void ModernOpenGLGraphics::drawPattern(const Image *restrict const image,
}
void ModernOpenGLGraphics::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
{
if (!image)
return;
@@ -499,7 +502,8 @@ void ModernOpenGLGraphics::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;
@@ -683,7 +687,8 @@ void ModernOpenGLGraphics::calcTileCollection(ImageCollection *
}
void ModernOpenGLGraphics::drawTileCollection(const ImageCollection
- *restrict const vertCol) restrict2
+ *restrict const vertCol)
+ restrict2
{
if (!vertCol)
return;
@@ -713,8 +718,10 @@ void ModernOpenGLGraphics::drawTileCollection(const ImageCollection
void ModernOpenGLGraphics::calcPattern(ImageCollection *restrict const vertCol,
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
{
if (!vertCol || !image)
return;