summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/opengl/RenderList.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/opengl/RenderList.hxx b/vcl/inc/opengl/RenderList.hxx
index 062971ec29f3..6188203c77ea 100644
--- a/vcl/inc/opengl/RenderList.hxx
+++ b/vcl/inc/opengl/RenderList.hxx
@@ -95,7 +95,7 @@ private:
{
if (maRenderEntries.empty() || doesOverlap(rDrawRectangle))
{
- maRenderEntries.resize(maRenderEntries.size() + 1);
+ maRenderEntries.emplace_back();
maRenderEntries.back().maOverlapTrackingRectangle = rDrawRectangle;
maRectangles.clear();