shithub: npe

Download patch

ref: 237831f5ec11e7bb6da2961c1e5f5bc0c3610347
parent: c1d318eb322ce0ed71975da32ad47e77eb4b63d0
author: Jacob Moody <moody@posixcafe.org>
date: Sun Jan 29 05:42:55 EST 2023

more defines for doom

--- a/include/npe/SDL2/SDL.h
+++ b/include/npe/SDL2/SDL.h
@@ -155,9 +155,10 @@
 	SDL_WINDOWPOS_CENTERED = -1,
 	SDL_WINDOWPOS_UNDEFINED = -2,
 
-	SDL_INIT_AUDIO = 1<<0,
-	SDL_INIT_VIDEO = 1<<1,
-	SDL_INIT_JOYSTICK = 1<<2,
+	SDL_INIT_TIMER = 1<<0,
+	SDL_INIT_AUDIO = 1<<1,
+	SDL_INIT_VIDEO = 1<<2,
+	SDL_INIT_JOYSTICK = 1<<3,
 
 	SDL_BLENDMODE_NONE = 0,
 	SDL_BLENDMODE_BLEND,
@@ -207,6 +208,7 @@
 #define SDL_HINT_RENDER_SCALE_QUALITY "SDL_HINT_RENDER_SCALE_QUALITY"
 #define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"
 #define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
+#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING"
 
 struct SDL_Point {
 	int x, y;