fix the update session operator=, temporarily enabled Flush()ing the underlying BView again in order to not distract with fake drawing bugs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15252 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,7 +37,10 @@ DrawingEngine::Unlock()
|
|||||||
#if RUN_WITH_FRAME_BUFFER
|
#if RUN_WITH_FRAME_BUFFER
|
||||||
Sync();
|
Sync();
|
||||||
#else
|
#else
|
||||||
// Flush();
|
// Flush() takes some time, but we
|
||||||
|
// need to do that, since we draw
|
||||||
|
// at any time, outside actual updates
|
||||||
|
Flush();
|
||||||
#endif
|
#endif
|
||||||
Window()->Unlock();
|
Window()->Unlock();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -778,6 +778,7 @@ UpdateSession&
|
|||||||
UpdateSession::operator=(const UpdateSession& other)
|
UpdateSession::operator=(const UpdateSession& other)
|
||||||
{
|
{
|
||||||
fDirtyRegion = other.fDirtyRegion;
|
fDirtyRegion = other.fDirtyRegion;
|
||||||
|
fInUse = other.fInUse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user