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/mobileopengl2graphics.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/render/mobileopengl2graphics.cpp') diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp index a1bcd00b0..c1a7e43df 100644 --- a/src/render/mobileopengl2graphics.cpp +++ b/src/render/mobileopengl2graphics.cpp @@ -766,9 +766,6 @@ void MobileOpenGL2Graphics::calcTileVertexesInline(ImageVertexes * int dstX, int dstY) const restrict2 { - if (!vert || !image) - return; - const SDL_Rect &imageRect = image->mBounds; const int w = imageRect.w; const int h = imageRect.h; -- cgit v1.2.3-60-g2f50