Codechange: use std::array.fill over memset

This commit is contained in:
Rubidium
2025-05-06 22:25:36 +02:00
committed by rubidium42
parent 228f9ca941
commit 96873dee63
7 changed files with 10 additions and 11 deletions

View File

@@ -424,7 +424,6 @@ Sprite *Blitter_32bppOptimized::EncodeInternal(SpriteType sprite_type, const Spr
dest_sprite->y_offs = root_sprite.y_offs;
SpriteData *dst = (SpriteData *)dest_sprite->data;
memset(dst, 0, sizeof(*dst));
uint32_t offset = 0;
for (ZoomLevel z = zoom_min; z <= zoom_max; z++) {