summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
commit98c74738f21d7ae256f1273b6c1614ee64e2a3ad (patch)
tree95a1af0071c774021c781611d215fee84358a807 /src/render
parenta0b050fd82177f38b8bbf3360159d57886e2a347 (diff)
downloadmanaverse-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.gz
manaverse-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.bz2
manaverse-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.xz
manaverse-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.zip
Fix code style.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/vertexes/openglgraphicsvertexes.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/render/vertexes/openglgraphicsvertexes.cpp b/src/render/vertexes/openglgraphicsvertexes.cpp
index 4acde987b..79ed66b1d 100644
--- a/src/render/vertexes/openglgraphicsvertexes.cpp
+++ b/src/render/vertexes/openglgraphicsvertexes.cpp
@@ -169,8 +169,7 @@ GLfloat *OpenGLGraphicsVertexes::continueFloatTexArray() restrict2
{
if (mFloatTexPool.empty())
{
- mFloatTexArray = new GLfloat[CAST_SIZE(
- vertexBufSize * 4 + 30)];
+ mFloatTexArray = new GLfloat[CAST_SIZE(vertexBufSize) * 4 + 30];
mFloatTexPool.push_back(mFloatTexArray);
}
else
@@ -198,8 +197,7 @@ GLshort *OpenGLGraphicsVertexes::continueShortVertArray() restrict2
{
if (mShortVertPool.empty())
{
- mShortVertArray = new GLshort[CAST_SIZE(
- vertexBufSize * 4 + 30)];
+ mShortVertArray = new GLshort[CAST_SIZE(vertexBufSize) * 4 + 30];
mShortVertPool.push_back(mShortVertArray);
}
else