From db957f4dbb48bda8a090f29f7fb34d336afd4bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Fri, 24 Dec 2021 23:27:07 +0100 Subject: [PATCH] ppu: resize already calls clear, no need for repetition --- src/devices/ppu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/devices/ppu.c b/src/devices/ppu.c index 2850edc..8d90205 100644 --- 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