diff options
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index 0de8d5a8d..429fa2256 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -1044,7 +1044,7 @@ void NormalOpenGLGraphics::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; @@ -1091,7 +1091,7 @@ void NormalOpenGLGraphics::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; @@ -1213,7 +1213,7 @@ void NormalOpenGLGraphics::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; |