Navigation Menu

Skip to content

Commit

Permalink
Fixed|Widgets|UI: Finish batched draws before doing manual ones
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 19, 2017
1 parent 2dd2c31 commit 25f3257
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 25f3257

Please sign in to comment.