Fix font drawing when using a double-buffered driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8441 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c4eb8432a3
commit
052e575afa
@ -1166,7 +1166,7 @@ void DisplayDriver::BlitMono2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
||||
srcindex+=srcinc;
|
||||
destindex+=destinc;
|
||||
}
|
||||
Invalidate(BRect(0,0,srcwidth,srcheight));
|
||||
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||
ReleaseBuffer();
|
||||
}
|
||||
|
||||
@ -1288,7 +1288,7 @@ void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
||||
srcindex+=srcinc;
|
||||
destindex+=destinc;
|
||||
}
|
||||
Invalidate(BRect(0,0,srcwidth,srcheight));
|
||||
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||
ReleaseBuffer();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user