diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-07 17:57:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-07 17:57:21 +0300 |
commit | 3173688b7c1a1027257aa057039bd50738ac8bb5 (patch) | |
tree | ba415bfcc8e196a1e92eeed851778f957265dee6 /src/render/sdlgraphics.cpp | |
parent | 852617a2ea3cfe83c1d0aec134d9369aa5c3af7b (diff) | |
download | plus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.gz plus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.bz2 plus-3173688b7c1a1027257aa057039bd50738ac8bb5.tar.xz plus-3173688b7c1a1027257aa057039bd50738ac8bb5.zip |
In renderers in function calcTileVertexes add non null attributes.
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r-- | src/render/sdlgraphics.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 0043d1ccc..01acb5f57 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -670,8 +670,6 @@ void SDLGraphics::calcTileVertexes(ImageVertexes *restrict const vert, const Image *restrict const image, int x, int y) const restrict2 { - if (!vert || !image) - return; vert->image = image; calcTileSDL(vert, x, y); } @@ -680,8 +678,6 @@ void SDLGraphics::calcTileVertexesInline(ImageVertexes *restrict const vert, const Image *restrict const image, int x, int y) const restrict2 { - if (!vert || !image) - return; vert->image = image; calcTileSDL(vert, x, y); } |