diff options
Diffstat (limited to 'src/utils/sdlhelper.cpp')
-rw-r--r-- | src/utils/sdlhelper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.cpp b/src/utils/sdlhelper.cpp index ed2187172..5b640f570 100644 --- a/src/utils/sdlhelper.cpp +++ b/src/utils/sdlhelper.cpp @@ -95,4 +95,10 @@ bool SDL::getWindowWMInfo(SDL_Surface *const window A_UNUSED, return SDL_GetWMInfo(info); } +SDL_Thread *SDL::createThread(SDL_ThreadFunction fn, + const char *name A_UNUSED, void *data) +{ + return SDL_CreateThread(fn, data); +} + #endif // USE_SDL2 |