From 25f32573deab427d7edc90c8ff96f26bab5c7803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Sun, 19 Feb 2017 19:02:55 +0200 Subject: [PATCH] Fixed|Widgets|UI: Finish batched draws before doing manual ones --- doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp b/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp index 8194b2c96c..36aae63529 100644 --- a/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp +++ b/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp @@ -140,6 +140,7 @@ void MapOutlineWidget::drawContent() GuiWidget::drawContent(); if (d->vbuf && d->vbuf->count()) { + root().painter().flush(); d->uMvpMatrix = root().projMatrix2D() * d->modelMatrix(); d->uColor = Vector4f(1, 1, 1, d->mapOpacity * visibleOpacity()); d->drawable.draw();