diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 17:57:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 17:57:21 +0300 |
commit | 3173688b7c1a1027257aa057039bd50738ac8bb5 (patch) | |
tree | ba415bfcc8e196a1e92eeed851778f957265dee6 /src/render/mobileopenglgraphics.cpp | |
parent | 852617a2ea3cfe83c1d0aec134d9369aa5c3af7b (diff) | |
download | manaverse-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.gz manaverse-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.bz2 manaverse-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.xz manaverse-3173688b7c1a1027257aa057039bd50738ac8bb5.zip |
In renderers in function calcTileVertexes add non null attributes.
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index fb4651409..54f9a408c 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -804,9 +804,6 @@ void MobileOpenGLGraphics::calcTileVertexesInline(ImageVertexes * int dstX, int dstY) const restrict2 { - if (!vert || !image) - return; - const SDL_Rect &imageRect = image->mBounds; const int srcX = imageRect.x; const int srcY = imageRect.y; |