ref: 35523abeb7add5d78d9893183a34577626ea08dd
parent: 5ac3e2deaaf306980c1c8920382ffa10e30a95b1
author: Jacob Moody <[email protected]>
date: Mon Apr 17 19:41:39 EDT 2023
sdl2: restore SDL_GetVersion that was removed in botched merge
--- a/libnpe_sdl2/sdl2.c
+++ b/libnpe_sdl2/sdl2.c
@@ -1433,3 +1433,12 @@
/* FIXME: do we care? */
USED(modstate);
}
+
+void
+SDL_GetVersion(SDL_version *v)
+{
+ /* these are arbitrary */
+ v->major = 2;
+ v->minor = 24;
+ v->patch = 1;
+}