From 98c74738f21d7ae256f1273b6c1614ee64e2a3ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2018 06:55:28 +0300 Subject: Fix code style. --- src/render/vertexes/openglgraphicsvertexes.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/render/vertexes') 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 -- cgit v1.2.3-70-g09d2