diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:46 +0300 |
commit | 454508376039429ad292de69cd491badda798062 (patch) | |
tree | d1b341cbfd0a348fc775ecf275bdf17b7356fad9 /src/render/nullopenglgraphics.cpp | |
parent | 64aabf79b5a10bdf8192bb1048804a3e36730905 (diff) | |
download | manaplus-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.cpp | 2 |
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) |