diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-13 17:24:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-13 17:24:06 +0300 |
commit | 79075b1688a4218dcee56d727dc2f6c88051c9c0 (patch) | |
tree | 7ae69a4ecfd7f066990673dbfad1c66d81ec666a /src/graphicsvertexes.cpp | |
parent | 0b734fa8db3cfcef12f4dc35bd4f8da1bb86944d (diff) | |
download | manaplus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.gz manaplus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.bz2 manaplus-79075b1688a4218dcee56d727dc2f6c88051c9c0.tar.xz manaplus-79075b1688a4218dcee56d727dc2f6c88051c9c0.zip |
Change some pointers to references in OpenGL draw code.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r-- | src/graphicsvertexes.cpp | 7 |
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 } |