summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.cpp
diff options
context:
space:
mode:
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;