Comment m_overlap->setImmutable() to avoid crashing when moving tabs while debugging on windows

This commit is contained in:
Martín Capello 2022-06-29 15:02:21 -03:00
parent 306e13dfad
commit c00f4b0d26

View File

@ -99,7 +99,8 @@ void Overlay::captureOverlappedArea(const os::SurfaceRef& screen)
os::SurfaceLock lock(m_overlap.get());
screen->blitTo(m_overlap.get(), m_pos.x, m_pos.y, 0, 0,
m_overlap->width(), m_overlap->height());
m_overlap->setImmutable();
// TODO uncomment and test this when GPU support is added
//m_overlap->setImmutable();
m_captured = screen;
}