add memset blt_clear wrapper

This commit is contained in:
FunkyFr3sh 2022-09-15 02:12:27 +02:00
parent f9462e5903
commit 0133030c6a
3 changed files with 12 additions and 1 deletions

View file

@ -381,6 +381,13 @@ void blt_colorkey_mirror_stretch(
}
}
void blt_clear(
unsigned char* dst,
size_t size)
{
memset(dst, 0, size);
}
void blt_colorfill(
unsigned char* dst,
int dst_x,