From a8acf366d3e943fb636e24b69c8c67152770d2cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Dec 2015 21:08:45 +0300 Subject: Fix code style. --- src/render/modernopenglgraphics.cpp | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/render/modernopenglgraphics.cpp') 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; -- cgit v1.2.3-60-g2f50