shithub: npe

Download patch

ref: a3cd60bca8a6d5e808df4adec51d52c3fce64a18
parent: 069edc3b883a71762329a55e0c7661905badc4c5
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Mar 20 17:50:04 EDT 2021

sdl2: fix wrong func name and missing scale.c from the build

--- a/libnpe_sdl2/events.c
+++ b/libnpe_sdl2/events.c
@@ -29,7 +29,7 @@
 static void kbdproc(void *);
 
 int
-npe_init_input(void)
+npe_sdl_init_input(void)
 {
 	if((npe_sdl.mctl = initmouse(nil, screen)) == nil)
 		return -1;
--- a/libnpe_sdl2/mkfile
+++ b/libnpe_sdl2/mkfile
@@ -10,6 +10,7 @@
 	events.$O\
 	image.$O\
 	rwops.$O\
+	scale.$O\
 	sdl2.$O\
 	threads.$O\