From 8963c582f2d2f2879b69821337a5c396f9712a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 Jun 2014 17:42:33 +0300 Subject: Fix code style. --- src/graphicsvertexes.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/graphicsvertexes.cpp') 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(mVbo.size()); if (sz > 0) { mainGraphics->removeArray(sz, &mVbo[0]); -- cgit v1.2.3-60-g2f50