summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:46 +0300
commit454508376039429ad292de69cd491badda798062 (patch)
treed1b341cbfd0a348fc775ecf275bdf17b7356fad9 /src/render/nullopenglgraphics.cpp
parent64aabf79b5a10bdf8192bb1048804a3e36730905 (diff)
downloadmanaplus-454508376039429ad292de69cd491badda798062.tar.gz
manaplus-454508376039429ad292de69cd491badda798062.tar.bz2
manaplus-454508376039429ad292de69cd491badda798062.tar.xz
manaplus-454508376039429ad292de69cd491badda798062.zip
Fix code style in render.
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index 6497a7b5a..8eb88f060 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -76,7 +76,7 @@ void NullOpenGLGraphics::initArrays()
// need alocate small size, after if limit reached reallocate to double size
vertexBufSize = mMaxVertices;
- const int sz = mMaxVertices * 4 + 30;
+ const size_t sz = mMaxVertices * 4 + 30;
if (!mFloatTexArray)
mFloatTexArray = new GLfloat[sz];
if (!mIntTexArray)