diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
commit | 4df1e68047488ec00a264c076bb3222715f42295 (patch) | |
tree | 22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/render/modernopenglgraphics.cpp | |
parent | bfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff) | |
download | manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.gz manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2 manaverse-4df1e68047488ec00a264c076bb3222715f42295.tar.xz manaverse-4df1e68047488ec00a264c076bb3222715f42295.zip |
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r-- | src/render/modernopenglgraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp index 248d2f086..84843098c 100644 --- a/src/render/modernopenglgraphics.cpp +++ b/src/render/modernopenglgraphics.cpp @@ -675,7 +675,7 @@ void ModernOpenGLGraphics::calcTileCollection(ImageCollection * return; if (vertCol->currentGLImage != image->mGLImage) { - ImageVertexes *const vert = new ImageVertexes(); + ImageVertexes *const vert = new ImageVertexes; vertCol->currentGLImage = image->mGLImage; vertCol->currentVert = vert; vert->image = image; @@ -729,7 +729,7 @@ void ModernOpenGLGraphics::calcPattern(ImageCollection *restrict const vertCol, ImageVertexes *vert = nullptr; if (vertCol->currentGLImage != image->mGLImage) { - vert = new ImageVertexes(); + vert = new ImageVertexes; vertCol->currentGLImage = image->mGLImage; vertCol->currentVert = vert; vert->image = image; @@ -827,7 +827,7 @@ void ModernOpenGLGraphics::calcWindow(ImageCollection *restrict const vertCol, return; if (vertCol->currentGLImage != image->mGLImage) { - vert = new ImageVertexes(); + vert = new ImageVertexes; vertCol->currentGLImage = image->mGLImage; vertCol->currentVert = vert; vert->image = image; |