mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed a SystemView clipping issue.
This commit is contained in:
parent
123f29aa43
commit
65999e5a09
|
@ -185,11 +185,10 @@ void SystemView::render(const glm::mat4& parentTrans)
|
||||||
glm::ivec2 {static_cast<int>(std::round(mSize.x)), static_cast<int>(std::round(mSize.y))});
|
glm::ivec2 {static_cast<int>(std::round(mSize.x)), static_cast<int>(std::round(mSize.y))});
|
||||||
|
|
||||||
mPrimary->render(trans);
|
mPrimary->render(trans);
|
||||||
|
mRenderer->popClipRect();
|
||||||
|
|
||||||
if (!fade || mLegacyMode)
|
if (!fade || mLegacyMode)
|
||||||
renderElements(parentTrans, true);
|
renderElements(parentTrans, true);
|
||||||
|
|
||||||
mRenderer->popClipRect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemView::onThemeChanged(const std::shared_ptr<ThemeData>& /*theme*/)
|
void SystemView::onThemeChanged(const std::shared_ptr<ThemeData>& /*theme*/)
|
||||||
|
|
Loading…
Reference in a new issue