Skip to content

Commit

Permalink
Fixed|UI|Home: Clipping the map outline of a server info dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 19, 2017
1 parent 2ea5716 commit 599192d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp
Expand Up @@ -140,10 +140,13 @@ void MapOutlineWidget::drawContent()
GuiWidget::drawContent();
if (d->vbuf && d->vbuf->count())
{
root().painter().flush();
auto &painter = root().painter();
painter.flush();
GLState::push().setNormalizedScissor(painter.normalizedScissor());
d->uMvpMatrix = root().projMatrix2D() * d->modelMatrix();
d->uColor = Vector4f(1, 1, 1, d->mapOpacity * visibleOpacity());
d->drawable.draw();
GLState::pop();
}
}

Expand Down

0 comments on commit 599192d

Please sign in to comment.