diff options
Diffstat (limited to 'src/render/mobileopenglgraphics.cpp')
-rw-r--r-- | src/render/mobileopenglgraphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp index b385d8306..0ee37ddfe 100644 --- a/src/render/mobileopenglgraphics.cpp +++ b/src/render/mobileopenglgraphics.cpp @@ -845,6 +845,8 @@ void MobileOpenGLGraphics::calcWindow(ImageCollection *const vertCol, return; ImageVertexes *vert = nullptr; const Image *const image = imgRect.grid[4]; + if (!image) + return; if (vertCol->currentGLImage != image->mGLImage) { vert = new ImageVertexes(); |