Browse Source

updated dynapi after SDL_GDKGetDefaultUser addition

Ozkan Sezer 1 year ago
parent
commit
f032e8c191
3 changed files with 5 additions and 0 deletions
  1. 1 0
      src/dynapi/SDL2.exports
  2. 1 0
      src/dynapi/SDL_dynapi_overrides.h
  3. 3 0
      src/dynapi/SDL_dynapi_procs.h

+ 1 - 0
src/dynapi/SDL2.exports

@@ -870,3 +870,4 @@
 # ++'_SDL_GDKSuspendComplete'.'SDL2.dll'.'SDL_GDKSuspendComplete'
 ++'_SDL_HasWindowSurface'.'SDL2.dll'.'SDL_HasWindowSurface'
 ++'_SDL_DestroyWindowSurface'.'SDL2.dll'.'SDL_DestroyWindowSurface'
+# ++'_SDL_GDKGetDefaultUser'.'SDL2.dll'.'SDL_GDKGetDefaultUser'

+ 1 - 0
src/dynapi/SDL_dynapi_overrides.h

@@ -896,3 +896,4 @@
 #define SDL_GDKSuspendComplete SDL_GDKSuspendComplete_REAL
 #define SDL_HasWindowSurface SDL_HasWindowSurface_REAL
 #define SDL_DestroyWindowSurface SDL_DestroyWindowSurface_REAL
+#define SDL_GDKGetDefaultUser SDL_GDKGetDefaultUser_REAL

+ 3 - 0
src/dynapi/SDL_dynapi_procs.h

@@ -981,3 +981,6 @@ SDL_DYNAPI_PROC(void,SDL_GDKSuspendComplete,(void),(),)
 #endif
 SDL_DYNAPI_PROC(SDL_bool,SDL_HasWindowSurface,(SDL_Window *a),(a),return)
 SDL_DYNAPI_PROC(int,SDL_DestroyWindowSurface,(SDL_Window *a),(a),return)
+#if defined(__GDK__)
+SDL_DYNAPI_PROC(int,SDL_GDKGetDefaultUser,(XUserHandle *a),(a),return)
+#endif