summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-13 23:08:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-13 23:08:46 +0300
commit02e9a62ce9a0f288804bfa2aa59c3a84b0376c4a (patch)
treeb029ec4c7196685d6a0331835640125e00829e08 /src/graphicsvertexes.cpp
parentd74ca472f54ae0f5c69ba6a377d896234725df70 (diff)
downloadmanaverse-02e9a62ce9a0f288804bfa2aa59c3a84b0376c4a.tar.gz
manaverse-02e9a62ce9a0f288804bfa2aa59c3a84b0376c4a.tar.bz2
manaverse-02e9a62ce9a0f288804bfa2aa59c3a84b0376c4a.tar.xz
manaverse-02e9a62ce9a0f288804bfa2aa59c3a84b0376c4a.zip
Fix to avoid false positives in automatic checking software.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index 4a299620d..a74d6558b 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -234,6 +234,15 @@ std::vector<DoubleRect*> *GraphicsVertexes::getRectsSDL()
return &sdl[mPtr].mList;
}
+ImageVertexes::ImageVertexes() :
+ image(nullptr)
+{
+ sdl.reserve(30);
+#ifdef USE_OPENGL
+ ogl = new OpenGLGraphicsVertexes();
+#endif
+}
+
ImageVertexes::~ImageVertexes()
{
delete_all(sdl);