From 3173688b7c1a1027257aa057039bd50738ac8bb5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 17:57:21 +0300 Subject: In renderers in function calcTileVertexes add non null attributes. --- src/render/modernopenglgraphics.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/render/modernopenglgraphics.cpp') diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index 6f02f022c..8f3c76ea5 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -756,9 +756,6 @@ void ModernOpenGLGraphics::calcTileVertexesInline(ImageVertexes * int dstX, int dstY) const restrict2 { - if (!vert || !image) - return; - const SDL_Rect &imageRect = image->mBounds; const int srcX = imageRect.x; const int srcY = imageRect.y; -- cgit v1.2.3-70-g09d2