X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=0d162f25ad657553682f4caef1220b34abab48f8;hb=93926b59ca45db5bb31f63e08d7ee729745e0306;hp=18d560b77aed2178a498ab6ae97ce970266794c4;hpb=ae9c6c4794c6a8f9704850427de3ebbe933400da;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 18d560b7..0d162f25 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1141,7 +1141,10 @@ void DrawTitleScreenImage(int nr, boolean initial) ClearRectangleOnBackground(drawto, 0, 0, WIN_XSIZE, WIN_YSIZE); if (DrawingOnBackground(dst_x, dst_y)) + { + SetClipOrigin(bitmap, bitmap->stored_clip_gc, dst_x - src_x, dst_y - src_y); BlitBitmapMasked(bitmap, drawto, src_x, src_y, width, height, dst_x, dst_y); + } else BlitBitmap(bitmap, drawto, src_x, src_y, width, height, dst_x, dst_y);