* Fix build of app_server test environment by implementing atomic_get(),
maybe this should be the assembler version we use for x86, but is probably fine for the purpose of the test environment (only BString uses this) * Fix semantics of DrawingEngine::CopyToFront() which I recently introduced, for the fake accelerant of the test environment, we do need to call Invalidate(), not CopyBackToFront() directly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24422 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0cbc783bc0
commit
f306ef434f
@ -35,3 +35,11 @@ fs_unmount_volume(const char *path, uint32 flags)
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
int32
|
||||
atomic_get(vint32 *value)
|
||||
{
|
||||
return *value;
|
||||
}
|
||||
|
||||
|
||||
|
@ -190,7 +190,7 @@ DrawingEngine::CopyToFront(/*const*/ BRegion& region)
|
||||
{
|
||||
int32 count = region.CountRects();
|
||||
for (int32 i = 0; i < count; i++)
|
||||
fGraphicsCard->CopyBackToFront(region.RectAt(i));
|
||||
fGraphicsCard->Invalidate(region.RectAt(i));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user