RenderingBuffer::Bounds() returns an IntRect, saves a conversion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24352 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5bced18eab
commit
b7458c6b96
@ -314,7 +314,7 @@ HWInterface::CopyBackToFront(const BRect& frame)
|
||||
|
||||
// we need to mess with the area, but it is const
|
||||
IntRect area(frame);
|
||||
BRect bufferClip(backBuffer->Bounds());
|
||||
IntRect bufferClip(backBuffer->Bounds());
|
||||
|
||||
if (area.IsValid() && area.Intersects(bufferClip)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user