summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-13 17:24:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 17:24:06 +0300
commit79075b1688a4218dcee56d727dc2f6c88051c9c0 (patch)
tree7ae69a4ecfd7f066990673dbfad1c66d81ec666a /src/graphicsvertexes.cpp
parent0b734fa8db3cfcef12f4dc35bd4f8da1bb86944d (diff)
downloadplus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.gz
plus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.bz2
plus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.xz
plus-79075b1688a4218dcee56d727dc2f6c88051c9c0.zip
Change some pointers to references in OpenGL draw code.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index 841873aee..16fe7cec9 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -235,17 +235,10 @@ ImageVertexes::ImageVertexes() :
image(nullptr)
{
sdl.reserve(30);
-#ifdef USE_OPENGL
- ogl = new NormalOpenGLGraphicsVertexes();
-#endif
}
ImageVertexes::~ImageVertexes()
{
delete_all(sdl);
sdl.clear();
-#ifdef USE_OPENGL
- delete ogl;
- ogl = nullptr;
-#endif
}