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:
Stephan Aßmus 2008-03-10 22:22:11 +00:00
parent 5bced18eab
commit b7458c6b96

View File

@ -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)) {