Redraw on resize

This commit is contained in:
neauoire 2023-11-09 14:45:51 -08:00
parent d0a521745a
commit f9de13652c
2 changed files with 4 additions and 3 deletions

View File

@ -15,9 +15,9 @@
@on-reset ( -> ) @on-reset ( -> )
( | theme ) ( | theme )
#68af .System/r DEO2 #48af .System/r DEO2
#79bf .System/g DEO2 #59bf .System/g DEO2
#8ace .System/b DEO2 #6ace .System/b DEO2
( | vectors ) ( | vectors )
;on-mouse .Mouse/vector DEO2 ;on-mouse .Mouse/vector DEO2
;on-frame .Screen/vector DEO2 ;on-frame .Screen/vector DEO2

View File

@ -156,6 +156,7 @@ screen_resize(Uint16 width, Uint16 height)
screen_fill(uxn_screen.bg, 0, 0, width, height, 0); screen_fill(uxn_screen.bg, 0, 0, width, height, 0);
screen_fill(uxn_screen.fg, 0, 0, width, height, 0); screen_fill(uxn_screen.fg, 0, 0, width, height, 0);
emu_resize(width, height); emu_resize(width, height);
screen_change(0, 0, width, height);
} }
void void