diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 20:35:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 20:35:25 +0300 |
commit | 6c077bb84b2b33339100382494163034ec092a0c (patch) | |
tree | e983c8d389a22a5411bdc40e00d7cdb5e9f2d94f /src/render/sdlgraphics.cpp | |
parent | 387d06f36504e65a9ce82984944fc844181c80fe (diff) | |
download | plus-6c077bb84b2b33339100382494163034ec092a0c.tar.gz plus-6c077bb84b2b33339100382494163034ec092a0c.tar.bz2 plus-6c077bb84b2b33339100382494163034ec092a0c.tar.xz plus-6c077bb84b2b33339100382494163034ec092a0c.zip |
In renderers in function calcWindow add non null attributes.
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r-- | src/render/sdlgraphics.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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) |