diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-06 20:11:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-06 20:21:25 +0300 |
commit | 23d29ec55093cd95c9084965a179ef70da2af150 (patch) | |
tree | bc579bc2dcc30fb588926a64d4ef1415e281492c /src/normalopenglgraphics.cpp | |
parent | 17bb7a5de4b9406f1a02d092ae590ab71b7265ba (diff) | |
download | ManaVerse-23d29ec55093cd95c9084965a179ef70da2af150.tar.gz ManaVerse-23d29ec55093cd95c9084965a179ef70da2af150.tar.bz2 ManaVerse-23d29ec55093cd95c9084965a179ef70da2af150.tar.xz ManaVerse-23d29ec55093cd95c9084965a179ef70da2af150.zip |
Add support for draw broders for on screen buttons.
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r-- | src/normalopenglgraphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp index f7ca7b802..d41229442 100644 --- a/src/normalopenglgraphics.cpp +++ b/src/normalopenglgraphics.cpp @@ -1150,6 +1150,8 @@ bool NormalOpenGLGraphics::calcWindow(ImageCollection *const vertCol, { ImageVertexes *vert = nullptr; Image *const image = imgRect.grid[4]; + if (!image) + return false; if (vertCol->currentGLImage != image->mGLImage) { vert = new ImageVertexes(); |