summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-10 16:40:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-10 16:40:52 +0300
commit4df1e68047488ec00a264c076bb3222715f42295 (patch)
tree22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/render/mobileopengl2graphics.cpp
parentbfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff)
downloadmv-4df1e68047488ec00a264c076bb3222715f42295.tar.gz
mv-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2
mv-4df1e68047488ec00a264c076bb3222715f42295.tar.xz
mv-4df1e68047488ec00a264c076bb3222715f42295.zip
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r--src/render/mobileopengl2graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp
index d077aaa9f..62a53fed6 100644
--- a/src/render/mobileopengl2graphics.cpp
+++ b/src/render/mobileopengl2graphics.cpp
@@ -690,7 +690,7 @@ void MobileOpenGL2Graphics::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;
@@ -737,7 +737,7 @@ void MobileOpenGL2Graphics::calcPattern(ImageCollection *restrict const
ImageVertexes *vert = nullptr;
if (vertCol->currentGLImage != image->mGLImage)
{
- vert = new ImageVertexes();
+ vert = new ImageVertexes;
vertCol->currentGLImage = image->mGLImage;
vertCol->currentVert = vert;
vert->image = image;
@@ -839,7 +839,7 @@ void MobileOpenGL2Graphics::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;