mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Win32: Fix a silly mistake in mal_dlclose().
This commit is contained in:
@@ -1616,7 +1616,7 @@ mal_handle mal_dlopen(const char* filename)
|
|||||||
void mal_dlclose(mal_handle handle)
|
void mal_dlclose(mal_handle handle)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
CloseHandle((HANDLE)handle);
|
FreeLibrary((HMODULE)handle);
|
||||||
#else
|
#else
|
||||||
dlclose((void*)handle);
|
dlclose((void*)handle);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user