ActivateTopScissor doesn't belong in UIContext::Begin.

This commit is contained in:
Henrik Rydgård committed 2018-12-18 10:37:39 +01:00
1 parent 2d01db805e
commit 260fd3c9ee
4 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -78,9 +78,9 @@ void UIScreen::preRender() {
return;
}
draw->BeginFrame();
screenManager()->getUIContext()->BeginFrame();
// Bind and clear the back buffer
draw->BindFramebufferAsRenderTarget(nullptr, { RPAction::CLEAR, RPAction::CLEAR, RPAction::CLEAR, 0xFF000000 });
screenManager()->getUIContext()->BeginFrame();
Draw::Viewport viewport;
viewport.TopLeftX = 0;