diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 19:27:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 19:27:10 +0300 |
commit | 1708cce0de3c195b0ecaa8a5f8383712dc0d4c13 (patch) | |
tree | 7d10563a677bfce0a9ee2aa0bb1d578b1b0807d1 /src/render/normalopenglgraphics.cpp | |
parent | 3dbdda0d3070a093f8a341f897ce4310a8b52bd2 (diff) | |
download | manaverse-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.gz manaverse-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.bz2 manaverse-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.tar.xz manaverse-1708cce0de3c195b0ecaa8a5f8383712dc0d4c13.zip |
In renderers in function drawTileCollection add non null attributes.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index c11b4d352..fdfa4fece 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -1048,8 +1048,6 @@ void NormalOpenGLGraphics::drawTileCollection(const ImageCollection *restrict const vertCol) restrict2 { - if (!vertCol) - return; const ImageVertexesVector &draws = vertCol->draws; const ImageCollectionCIter it_end = draws.end(); for (ImageCollectionCIter it = draws.begin(); it != it_end; ++ it) |