mirror of
https://github.com/encounter/SDL.git
synced 2025-12-13 23:26:18 +00:00
Implemented the Dynamic API magic.
This commit is contained in:
@@ -1036,7 +1036,11 @@ open_audio_device(const char *devname, int iscapture,
|
||||
/* !!! FIXME: this is nasty. */
|
||||
#if defined(__WIN32__) && !defined(HAVE_LIBC)
|
||||
#undef SDL_CreateThread
|
||||
#if SDL_DYNAMIC_API
|
||||
device->thread = SDL_CreateThread_REAL(SDL_RunAudio, name, device, NULL, NULL);
|
||||
#else
|
||||
device->thread = SDL_CreateThread(SDL_RunAudio, name, device, NULL, NULL);
|
||||
#endif
|
||||
#else
|
||||
device->thread = SDL_CreateThread(SDL_RunAudio, name, device);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user