summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r--src/render/sdl2graphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index 58e636a54..96ade5e4f 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -563,8 +563,6 @@ void SDLGraphics::calcTileCollection(ImageCollection *restrict const vertCol,
void SDLGraphics::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)