mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
d3d12: fix usage of GetAdapterLuid() in mingw/GCC using ABI helper
Fixes: e7204d0224 ("d3d12: Allow creating d3d12_dxcore_screen from existing ID3D12Device")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26338>
This commit is contained in:
parent
43cb4cb6dd
commit
9528d050a4
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ d3d12_create_dxcore_screen_from_d3d12_device(struct sw_winsys *winsys, IUnknown*
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
LUID adapter_luid = screen->base.dev->GetAdapterLuid();
|
||||
LUID adapter_luid = GetAdapterLuid(screen->base.dev);
|
||||
if (!d3d12_init_screen_base(&screen->base, winsys, &adapter_luid)) {
|
||||
d3d12_destroy_screen(&screen->base);
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue