mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Change XAudio2 DLL search flags to DEFAULT_DIRS
This commit is contained in:
Vendored
+1
-1
@@ -724,7 +724,7 @@ Create :: proc "stdcall" (ppXAudio2: ^^IXAudio2, Flags: FLAGS = {}, XAudio2Proce
|
|||||||
create_info: CreateInfoFunc
|
create_info: CreateInfoFunc
|
||||||
|
|
||||||
if dll_Instance == nil {
|
if dll_Instance == nil {
|
||||||
dll_Instance = win.LoadLibraryExW(win.L("xaudio2_9.dll"), nil, {.LOAD_LIBRARY_SEARCH_SYSTEM32})
|
dll_Instance = win.LoadLibraryExW(win.L("xaudio2_9.dll"), nil, {.LOAD_LIBRARY_SEARCH_DEFAULT_DIRS})
|
||||||
if dll_Instance == nil {
|
if dll_Instance == nil {
|
||||||
return HRESULT(win.GetLastError())
|
return HRESULT(win.GetLastError())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user