X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftext.c;h=36096240203880ba31d6744f0c9bab2d9cc05eb0;hb=b17343806da99bd24842f0b2e58d8513e0108bb7;hp=0c586f10d6ae251e4d600e644bb8a1c33b4303fa;hpb=f224a5f80d2067f911e8fa0a19752b6783190fa7;p=rocksndiamonds.git diff --git a/src/libgame/text.c b/src/libgame/text.c index 0c586f10..36096240 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -152,8 +152,8 @@ static void DrawInitTextExt(char *text, int ypos, int font_nr, boolean update) int width = video.width; int height = getFontHeight(font_nr); - ClearRectangle(drawto, 0, y, width, height); - DrawTextExt(drawto, x, y, text, font_nr, BLIT_OPAQUE); + ClearRectangleOnBackground(drawto, 0, y, width, height); + DrawTextExt(drawto, x, y, text, font_nr, BLIT_MASKED); if (update) BlitBitmap(drawto, window, 0, 0, video.width, video.height, 0, 0);