Some double-buffered drivers cannot Invalidate when the buffer is held

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8453 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech 2004-07-22 15:36:15 +00:00
parent 5d468e2116
commit 5a97e40589

View File

@ -1166,8 +1166,8 @@ void DisplayDriver::BlitMono2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
srcindex+=srcinc;
destindex+=destinc;
}
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
ReleaseBuffer();
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
}
void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawData *d)
@ -1288,8 +1288,8 @@ void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
srcindex+=srcinc;
destindex+=destinc;
}
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
ReleaseBuffer();
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
}
bool DisplayDriver::AcquireBuffer(FBBitmap *bmp)