diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-19 06:55:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-10-19 06:55:28 +0300 |
commit | 98c74738f21d7ae256f1273b6c1614ee64e2a3ad (patch) | |
tree | 95a1af0071c774021c781611d215fee84358a807 /src/render | |
parent | a0b050fd82177f38b8bbf3360159d57886e2a347 (diff) | |
download | manaverse-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.cpp | 6 |
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 |