if region is not NULL but invalid, draw nothing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12265 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1257,7 +1257,7 @@ void DisplayDriverPainter::Invalidate(const BRect &r)
|
||||
void DisplayDriverPainter::ConstrainClippingRegion(BRegion *region)
|
||||
{
|
||||
if (Lock()) {
|
||||
if (!region || !region->Frame().IsValid()) {
|
||||
if (!region) {
|
||||
// BRegion empty;
|
||||
// fPainter->ConstrainClipping(empty);
|
||||
if (RenderingBuffer* buffer = fGraphicsCard->BackBuffer()) {
|
||||
|
||||
Reference in New Issue
Block a user