summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-20 17:42:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-20 21:11:13 +0300
commit8963c582f2d2f2879b69821337a5c396f9712a06 (patch)
tree9cc8f89e3116bb09ad3f4a30f7552fad6e83fe57 /src/graphicsvertexes.cpp
parent65f5f9343a75a5adabdf840db93106cda71c703f (diff)
downloadplus-8963c582f2d2f2879b69821337a5c396f9712a06.tar.gz
plus-8963c582f2d2f2879b69821337a5c396f9712a06.tar.bz2
plus-8963c582f2d2f2879b69821337a5c396f9712a06.tar.xz
plus-8963c582f2d2f2879b69821337a5c396f9712a06.zip
Fix code style.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index 102512274..778f6ff30 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -20,8 +20,6 @@
#include "graphicsvertexes.h"
-#include "logger.h"
-
#include "render/graphics.h"
#include "utils/dtor.h"
@@ -54,7 +52,8 @@ OpenGLGraphicsVertexes::OpenGLGraphicsVertexes() :
mFloatTexPool(),
mIntVertPool(),
mShortVertPool(),
- mIntTexPool()
+ mIntTexPool(),
+ mVbo()
{
mFloatTexPool.reserve(30);
mIntVertPool.reserve(30);
@@ -99,7 +98,7 @@ void OpenGLGraphicsVertexes::clear()
}
mIntTexPool.clear();
- const int sz = mVbo.size();
+ const int sz = static_cast<int>(mVbo.size());
if (sz > 0)
{
mainGraphics->removeArray(sz, &mVbo[0]);