summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index 3a16c14a4..9c6da180d 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -817,8 +817,6 @@ void ModernOpenGLGraphics::calcWindow(ImageCollection *restrict const vertCol,
const ImageRect &restrict imgRect)
restrict2
{
- if (!vertCol)
- return;
ImageVertexes *vert = nullptr;
const Image *const image = imgRect.grid[4];
if (!image)