uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit a0dec6c304ead9d5ab964dff8df1936105a2ea2d
parent 5e3a93ba2680807f0abebde80ab23818e40d8a97
Author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Date:   Fri, 24 Jan 2025 02:18:44 +0000

screen_resize: fix a warning

Diffstat:
Msrc/devices/screen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/devices/screen.c b/src/devices/screen.c @@ -65,7 +65,7 @@ screen_palette(void) void screen_resize(Uint16 width, Uint16 height, int scale) { - Uint32 *pixels = NULL; + Uint32 *pixels; clamp(width, 8, 0x800); clamp(height, 8, 0x800); clamp(scale, 1, 3);