Redraw on resize
This commit is contained in:
parent
d0a521745a
commit
f9de13652c
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue