mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[dxgi] DxgiAdapter::GetDesc now returns correct adapter name
This commit is contained in:
parent
f5dd030074
commit
187c5aa092
@ -76,6 +76,11 @@ namespace dxvk {
|
||||
HRESULT hr = this->GetDesc1(&desc1);
|
||||
|
||||
if (SUCCEEDED(hr)) {
|
||||
std::memcpy(
|
||||
pDesc->Description,
|
||||
desc1.Description,
|
||||
sizeof(pDesc->Description));
|
||||
|
||||
pDesc->VendorId = desc1.VendorId;
|
||||
pDesc->DeviceId = desc1.DeviceId;
|
||||
pDesc->SubSysId = desc1.SubSysId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user