From 6c077bb84b2b33339100382494163034ec092a0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 20:35:25 +0300 Subject: In renderers in function calcWindow add non null attributes. --- src/render/sdlgraphics.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/render/sdlgraphics.cpp') diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index f8ed1a38d..8b7711a5c 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -790,9 +790,6 @@ void SDLGraphics::calcWindow(ImageCollection *restrict const vertCol, const int w, const int h, const ImageRect &restrict imgRect) restrict2 { - if (!vertCol) - return; - ImageVertexes *vert = nullptr; Image *const image = imgRect.grid[4]; if (!image) -- cgit v1.2.3-70-g09d2