windows: SDL_IMMDevice needed more deinit code from the Win32 path.
Fixes #5919
This commit is contained in:
parent
37aecda2c1
commit
fff34f6304
4 changed files with 32 additions and 31 deletions
|
@ -68,8 +68,6 @@ WASAPI_PlatformInit(void)
|
|||
void
|
||||
WASAPI_PlatformDeinit(void)
|
||||
{
|
||||
SDL_IMMDevice_Quit();
|
||||
|
||||
if (libavrt) {
|
||||
FreeLibrary(libavrt);
|
||||
libavrt = NULL;
|
||||
|
@ -78,7 +76,7 @@ WASAPI_PlatformDeinit(void)
|
|||
pAvSetMmThreadCharacteristicsW = NULL;
|
||||
pAvRevertMmThreadCharacteristics = NULL;
|
||||
|
||||
WIN_CoUninitialize();
|
||||
SDL_IMMDevice_Quit();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue