summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp6
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;