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/mobileopengl2graphics.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/mobileopengl2graphics.cpp')
-rw-r--r-- | src/render/mobileopengl2graphics.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp index 47faa6741..a7d978d0d 100644 --- a/src/render/mobileopengl2graphics.cpp +++ b/src/render/mobileopengl2graphics.cpp @@ -405,7 +405,8 @@ void MobileOpenGL2Graphics::drawRescaledImage(const Image * restrict const image, int dstX, int dstY, const int desiredWidth, - const int desiredHeight) restrict2 + const int desiredHeight) + restrict2 { if (!image) return; @@ -700,7 +701,8 @@ void MobileOpenGL2Graphics::calcTileCollection(ImageCollection * } void MobileOpenGL2Graphics::drawTileCollection(const ImageCollection - *restrict const vertCol) restrict2 + *restrict const vertCol) + restrict2 { if (!vertCol) return; @@ -750,7 +752,8 @@ void MobileOpenGL2Graphics::calcPattern(ImageCollection *restrict const vertCol, void MobileOpenGL2Graphics::calcTileVertexes(ImageVertexes * restrict const vert, const Image *restrict const image, - int dstX, int dstY) const restrict2 + int dstX, + int dstY) const restrict2 { calcTileVertexesInline(vert, image, dstX, dstY); } @@ -998,7 +1001,8 @@ void MobileOpenGL2Graphics::fillRectangle(const Rect &restrict rect) restrict2 mglDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } -void MobileOpenGL2Graphics::setTexturingAndBlending(const bool enable) restrict2 +void MobileOpenGL2Graphics::setTexturingAndBlending(const bool enable) + restrict2 { if (enable) { @@ -1038,9 +1042,12 @@ void MobileOpenGL2Graphics::drawRectangle(const Rect &restrict rect A_UNUSED, { } -void MobileOpenGL2Graphics::drawNet(const int x1, const int y1, - const int x2, const int y2, - const int width, const int height) restrict2 +void MobileOpenGL2Graphics::drawNet(const int x1, + const int y1, + const int x2, + const int y2, + const int width, + const int height) restrict2 { unsigned int vp = 0; const unsigned int vLimit = mMaxVertices * 4; |