projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030210-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index 5328f18b28200c8eee5e50adcff86aea78e74da1..48974eb74bb67ef34865e4cd0bccd71bee8ef379 100644
(file)
--- a/
src/libgame/text.c
+++ b/
src/libgame/text.c
@@
-292,9
+292,8
@@
void DrawTextExt(DrawBuffer *bitmap, int x, int y, char *text,
else if (mask_mode == FONT_MASKED)
{
/* clear font character background */
else if (mask_mode == FONT_MASKED)
{
/* clear font character background */
- BlitBitmap(gfx.background_bitmap, bitmap,
- dest_x - gfx.real_sx, dest_y - gfx.real_sy,
- font_width, font_height, dest_x, dest_y);
+ ClearRectangleOnBackground(bitmap, dest_x, dest_y,
+ font_width, font_height);
#if defined(TARGET_X11_NATIVE_PERFORMANCE_WORKAROUND)
/* use special font tile clipmasks, if available */
#if defined(TARGET_X11_NATIVE_PERFORMANCE_WORKAROUND)
/* use special font tile clipmasks, if available */