mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:25:59 +01:00
remove redundant check
This commit is contained in:
parent
644c64d79d
commit
ea7f617df6
1 changed files with 0 additions and 12 deletions
|
@ -133,18 +133,6 @@ void CHyprOpenGLImpl::end() {
|
||||||
|
|
||||||
clear(CColor(11, 11, 11, 255));
|
clear(CColor(11, 11, 11, 255));
|
||||||
|
|
||||||
if (m_RenderData.pCurrentMonData->primaryFB.m_cTex.m_iTexID == 0) {
|
|
||||||
Debug::log(ERR, "Couldn't end() frame (primary FB tex null???)");
|
|
||||||
|
|
||||||
// this apparently sometimes happens during lid switches... for some people?
|
|
||||||
// release all resources, will be recalc'd
|
|
||||||
destroyMonitorResources(m_RenderData.pMonitor);
|
|
||||||
|
|
||||||
m_RenderData.pMonitor = nullptr;
|
|
||||||
m_iWLROutputFb = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_bEndFrame = true;
|
m_bEndFrame = true;
|
||||||
|
|
||||||
renderTexture(m_RenderData.pCurrentMonData->primaryFB.m_cTex, &monbox, 255.f, 0);
|
renderTexture(m_RenderData.pCurrentMonData->primaryFB.m_cTex, &monbox, 255.f, 0);
|
||||||
|
|
Loading…
Reference in a new issue