diff --git a/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp b/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp index 36aae63529..7c806c7025 100644 --- a/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp +++ b/doomsday/apps/client/src/ui/widgets/mapoutlinewidget.cpp @@ -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(); } }