diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:44:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:44:43 +0300 |
commit | f3f5a316ca62e9d17776d4a49aab728aee65a5b5 (patch) | |
tree | 22affcd563bb8569adfd42de15ecd64f6819fa56 /src/utils/sdlhelper.h | |
parent | 43fd8a8d53d4bd811a8e4d468a78f201148e5896 (diff) | |
download | plus-f3f5a316ca62e9d17776d4a49aab728aee65a5b5.tar.gz plus-f3f5a316ca62e9d17776d4a49aab728aee65a5b5.tar.bz2 plus-f3f5a316ca62e9d17776d4a49aab728aee65a5b5.tar.xz plus-f3f5a316ca62e9d17776d4a49aab728aee65a5b5.zip |
move threads creation into sdl helper.
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r-- | src/utils/sdlhelper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index 27d5cc2ab..e09e05b7b 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -27,6 +27,8 @@ #else #include "utils/stringvector.h" +#include <SDL_thread.h> + #include "localconsts.h" struct SDL_Surface; @@ -50,6 +52,9 @@ namespace SDL bool getWindowWMInfo(SDL_Surface *const window A_UNUSED, SDL_SysWMinfo *const info); + + SDL_Thread *createThread(SDL_ThreadFunction fn, + const char *name A_UNUSED, void *data); } // namespace SDL #endif // USE_SDL2 |