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/mobileopenglgraphics.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/render/mobileopenglgraphics.cpp') diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index 8ce7ddea3..f77bcb843 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -465,8 +465,10 @@ void MobileOpenGLGraphics::drawPattern(const Image *restrict const image, } void MobileOpenGLGraphics::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) @@ -535,7 +537,8 @@ void MobileOpenGLGraphics::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; @@ -640,8 +643,10 @@ inline void MobileOpenGLGraphics::drawVertexes(const void MobileOpenGLGraphics::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); } @@ -1220,7 +1225,8 @@ inline void MobileOpenGLGraphics::drawTriangleArrayfs(const int size) restrict2 mglDrawArrays(GL_TRIANGLES, 0, size / 2); } -inline void MobileOpenGLGraphics::drawTriangleArrayfsCached(const int size) restrict2 +inline void MobileOpenGLGraphics::drawTriangleArrayfsCached(const int size) + restrict2 { glVertexPointer(2, GL_SHORT, 0, mShortVertArrayCached); glTexCoordPointer(2, GL_FLOAT, 0, mFloatTexArrayCached); -- cgit v1.2.3-60-g2f50