From b7458c6b960c278bcae8a4d79b96a80bbc4d4ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 10 Mar 2008 22:22:11 +0000 Subject: [PATCH] RenderingBuffer::Bounds() returns an IntRect, saves a conversion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24352 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/drawing/HWInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/drawing/HWInterface.cpp b/src/servers/app/drawing/HWInterface.cpp index 81b481fc0f..80677b4ce9 100644 --- a/src/servers/app/drawing/HWInterface.cpp +++ b/src/servers/app/drawing/HWInterface.cpp @@ -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)) {