Browse code

ppu: resize already calls clear, no need for repetition

Sigrid Solveig Haflínudóttir authored on 24/12/2021 22:27:07
Showing 1 changed files
... ...
@@ -67,7 +67,6 @@ ppu_resize(Ppu *p, Uint16 width, Uint16 height)
67 67
 	p->height = height;
68 68
 	ppu_clear(p, &p->bg);
69 69
 	ppu_clear(p, &p->fg);
70
-	p->fg.changed = p->bg.changed = 1;
71 70
 }
72 71
 
73 72
 void