diff options
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index b5abcf30e..d78cad4ad 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -670,7 +670,7 @@ void NormalOpenGLGraphics::calcImagePattern(ImageVertexes* const vert, const int x, const int y, const int w, const int h) const { - if (!image) + if (!image || !vert) return; const SDL_Rect &imageRect = image->mBounds; |