[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
"L. Ross Raszewski" <lraszewski@xxxxxxxxxx> writes:
Try this one:
void
blit_interlaced (int yoffset, int ygap, BITMAP *src, BITMAP *dst,
int sx, int sy, int dx, int dy, int w, int h)
{
int i;
acquire_bitmap (dst);
for (i = yoffset; i < h; i += ygap)
blit (src, dst, sx, sy + i, dx, dy + i, w, 1);
release_bitmap (dst);
}
BTW, you can not use memcpy with video bitmaps. For DJGPP you should
use bmp_write## or movedata.
--
Michael Bukin