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:
@@ -1166,7 +1166,7 @@ void DisplayDriver::BlitMono2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
|||||||
srcindex+=srcinc;
|
srcindex+=srcinc;
|
||||||
destindex+=destinc;
|
destindex+=destinc;
|
||||||
}
|
}
|
||||||
Invalidate(BRect(0,0,srcwidth,srcheight));
|
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||||
ReleaseBuffer();
|
ReleaseBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1288,7 +1288,7 @@ void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
|||||||
srcindex+=srcinc;
|
srcindex+=srcinc;
|
||||||
destindex+=destinc;
|
destindex+=destinc;
|
||||||
}
|
}
|
||||||
Invalidate(BRect(0,0,srcwidth,srcheight));
|
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||||
ReleaseBuffer();
|
ReleaseBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user