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/sdl2softwaregraphics.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index 9a61f94ca..f59ee5f51 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -765,8 +765,6 @@ void SDL2SoftwareGraphics::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-70-g09d2