summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdl2helper.cpp')
-rw-r--r--src/utils/sdl2helper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp
index a65f381b3..683a1b322 100644
--- a/src/utils/sdl2helper.cpp
+++ b/src/utils/sdl2helper.cpp
@@ -68,4 +68,10 @@ bool SDL::getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info)
return SDL_GetWindowWMInfo(window, info);
}
+SDL_Thread *SDL::createThread(SDL_ThreadFunction fn,
+ const char *name, void *data)
+{
+ return SDL_CreateThread(fn, name, data);
+}
+
#endif // USE_SDL2