summaryrefslogtreecommitdiff
path: root/src/render/normalopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 20:35:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 20:35:25 +0300
commit6c077bb84b2b33339100382494163034ec092a0c (patch)
treee983c8d389a22a5411bdc40e00d7cdb5e9f2d94f /src/render/normalopenglgraphics.cpp
parent387d06f36504e65a9ce82984944fc844181c80fe (diff)
downloadmanaplus-6c077bb84b2b33339100382494163034ec092a0c.tar.gz
manaplus-6c077bb84b2b33339100382494163034ec092a0c.tar.bz2
manaplus-6c077bb84b2b33339100382494163034ec092a0c.tar.xz
manaplus-6c077bb84b2b33339100382494163034ec092a0c.zip
In renderers in function calcWindow add non null attributes.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r--src/render/normalopenglgraphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp
index fdfa4fece..9aaa2aa47 100644
--- a/src/render/normalopenglgraphics.cpp
+++ b/src/render/normalopenglgraphics.cpp
@@ -1192,8 +1192,6 @@ void NormalOpenGLGraphics::calcWindow(ImageCollection *restrict const vertCol,
const ImageRect &restrict imgRect)
restrict2
{
- if (!vertCol)
- return;
ImageVertexes *vert = nullptr;
Image *const image = imgRect.grid[4];
if (!image)