commit db957f4dbb48bda8a090f29f7fb34d336afd4bed
parent 8a25a5e387cb13f4d690c48d7db8faf90659aac2
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date: Fri, 24 Dec 2021 23:27:07 +0100
ppu: resize already calls clear, no need for repetition
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/devices/ppu.c b/src/devices/ppu.c
@@ -67,7 +67,6 @@ ppu_resize(Ppu *p, Uint16 width, Uint16 height)
p->height = height;
ppu_clear(p, &p->bg);
ppu_clear(p, &p->fg);
- p->fg.changed = p->bg.changed = 1;
}
void