diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/graphicsvertexes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp index 109b4de6a..a8c3cf3e8 100644 --- a/src/graphicsvertexes.cpp +++ b/src/graphicsvertexes.cpp @@ -99,9 +99,13 @@ void NormalOpenGLGraphicsVertexes::clear() { ptr = 0; delete []mFloatTexArray; + mFloatTexArray = nullptr; delete []mIntTexArray; + mIntTexArray = nullptr; delete []mIntVertArray; + mIntVertArray = nullptr; delete []mShortVertArray; + mShortVertArray = nullptr; } } |