aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-16 06:17:57 -0700
committerChris Robinson <[email protected]>2011-06-16 06:17:57 -0700
commitc429a5be25978b2c0228af5cc448308110e7154c (patch)
treeb4cd0588bee29fa0a6208253ee258bb8009b51d2
parentfba58fb1f0a70a731c6d627ecb7a702afc312824 (diff)
The DirectSound DLL is always loaded by the Win32 API
-rw-r--r--Alc/dsound.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index a75e6922..86d164bb 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -578,12 +578,8 @@ void alcDSoundDeinit(void)
NumDevices = 0;
if(ds_handle)
- {
-#ifdef _WIN32
FreeLibrary(ds_handle);
-#endif
- ds_handle = NULL;
- }
+ ds_handle = NULL;
}
void alcDSoundProbe(enum DevProbe type)