diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-02 03:02:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-02 03:02:59 +0300 |
commit | d0df36406220717545221b0ed94b9ab4ebb908b3 (patch) | |
tree | 80e033ab6b2691dadef1e3d2e98e9fa0826dde90 /src/graphicsvertexes.cpp | |
parent | b96e34946aa326a9f8dfb80ce34cce9fc219405e (diff) | |
download | manaverse-d0df36406220717545221b0ed94b9ab4ebb908b3.tar.gz manaverse-d0df36406220717545221b0ed94b9ab4ebb908b3.tar.bz2 manaverse-d0df36406220717545221b0ed94b9ab4ebb908b3.tar.xz manaverse-d0df36406220717545221b0ed94b9ab4ebb908b3.zip |
Some fixes after automatic code checking.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r-- | src/graphicsvertexes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp index 7242269f2..8b03368fd 100644 --- a/src/graphicsvertexes.cpp +++ b/src/graphicsvertexes.cpp @@ -54,21 +54,21 @@ OpenGLGraphicsVertexes::~OpenGLGraphicsVertexes() void OpenGLGraphicsVertexes::clear() { - for(std::vector<GLfloat*>::iterator it = mFloatTexPool.begin(); + for (std::vector<GLfloat*>::iterator it = mFloatTexPool.begin(); it != mFloatTexPool.end(); ++ it) { delete [] (*it); } mFloatTexPool.clear(); - for(std::vector<GLint*>::iterator it = mIntVertPool.begin(); + for (std::vector<GLint*>::iterator it = mIntVertPool.begin(); it != mIntVertPool.end(); ++ it) { delete [] (*it); } mIntVertPool.clear(); - for(std::vector<GLint*>::iterator it = mIntTexPool.begin(); + for (std::vector<GLint*>::iterator it = mIntTexPool.begin(); it != mIntTexPool.end(); ++ it) { delete [] (*it); |