[Git][wine/wine][master] d3d11: Use GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS in D3D11CoreCreateDevice().
Alexandre Julliard pushed to branch master at wine / wine Commits: 4f60c65c by Elizabeth Figura at 2025-11-20T09:16:29-06:00 d3d11: Use GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS in D3D11CoreCreateDevice(). This handle is eventually used by DXGI to call D3D11CoreRegisterLayers(). apitrace ships a d3d11.dll which has the same name, but does not export D3D11CoreRegisterLayers(). Using GetModuleHandle("d3d11.dll") here can then lead to a crash in dxgi if the apitrace wrapper DLL is returned. - - - - - 1 changed file: - dlls/d3d11/d3d11_main.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/4f60c65ca49cef9f96ffb4d4a6b2ed3... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/4f60c65ca49cef9f96ffb4d4a6b2ed3... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)