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:
Stephan Aßmus 2005-11-30 20:51:39 +00:00
parent 7fd1af6f04
commit c8b8bbfca4
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,10 @@ DrawingEngine::Unlock()
#if RUN_WITH_FRAME_BUFFER
Sync();
#else
// Flush();
// Flush() takes some time, but we
// need to do that, since we draw
// at any time, outside actual updates
Flush();
#endif
Window()->Unlock();
}

View File

@ -778,6 +778,7 @@ UpdateSession&
UpdateSession::operator=(const UpdateSession& other)
{
fDirtyRegion = other.fDirtyRegion;
fInUse = other.fInUse;
}