summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 19:27:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 19:27:10 +0300
commit1708cce0de3c195b0ecaa8a5f8383712dc0d4c13 (patch)
tree7d10563a677bfce0a9ee2aa0bb1d578b1b0807d1 /src/render/mobileopengl2graphics.cpp
parent3dbdda0d3070a093f8a341f897ce4310a8b52bd2 (diff)
downloadmanaplus-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.gz
manaplus-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.bz2
manaplus-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.xz
manaplus-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.zip
In renderers in function drawTileCollection add non null attributes.
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r--src/render/mobileopengl2graphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp
index c1a7e43df..03810447a 100644
--- a/src/render/mobileopengl2graphics.cpp
+++ b/src/render/mobileopengl2graphics.cpp
@@ -704,8 +704,6 @@ void MobileOpenGL2Graphics::drawTileCollection(const ImageCollection
*restrict const vertCol)
restrict2
{
- if (!vertCol)
- return;
setTexturingAndBlending(true);
const ImageVertexesVector &draws = vertCol->draws;
const ImageCollectionCIter it_end = draws.end();