From 1708cce0de3c195b0ecaa8a5f8383712dc0d4c13 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 19:27:10 +0300 Subject: In renderers in function drawTileCollection add non null attributes. --- src/render/nullopenglgraphics.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/render/nullopenglgraphics.cpp') diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp index 9785fb089..a2f93f588 100644 --- a/src/render/nullopenglgraphics.cpp +++ b/src/render/nullopenglgraphics.cpp @@ -738,8 +738,6 @@ void NullOpenGLGraphics::calcTileCollection(ImageCollection * void NullOpenGLGraphics::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) -- cgit v1.2.3-60-g2f50