diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-26 21:08:45 +0300 |
commit | a8acf366d3e943fb636e24b69c8c67152770d2cc (patch) | |
tree | 99d51b8b56489fd03f32cd291e8570834954ac90 /src/render/mobileopenglgraphics.cpp | |
parent | e2b84bddbb089f43a9c2c3741545378614481a32 (diff) | |
download | manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.gz manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.bz2 manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.tar.xz manaverse-a8acf366d3e943fb636e24b69c8c67152770d2cc.zip |
Fix code style.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
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); |