mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +00:00
Comment m_overlap->setImmutable() to avoid crashing when moving tabs while debugging on windows
This commit is contained in:
parent
306e13dfad
commit
c00f4b0d26
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user