mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
Use correct variable name
This commit is contained in:
parent
abe27891c3
commit
b1b99bae13
1 changed files with 1 additions and 2 deletions
|
|
@ -491,7 +491,6 @@ std::vector<IDXGIAdapter1*> enum_dxgi_adapters()
|
||||||
vAdapters.push_back(pAdapter);
|
vAdapters.push_back(pAdapter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (pFactory)
|
if (pFactory)
|
||||||
{
|
{
|
||||||
pFactory->Release();
|
pFactory->Release();
|
||||||
|
|
@ -1055,7 +1054,7 @@ int main() {
|
||||||
|
|
||||||
for (IDXGIAdapter1* adapter : enum_dxgi_adapters()) {
|
for (IDXGIAdapter1* adapter : enum_dxgi_adapters()) {
|
||||||
DXGI_ADAPTER_DESC1 adapterDescription{};
|
DXGI_ADAPTER_DESC1 adapterDescription{};
|
||||||
myAdapter->GetDesc1(&adapterDescription);
|
adapter->GetDesc1(&adapterDescription);
|
||||||
log << std::format(L"GPU Desc: {}", adapterDescription.Description) << std::endl;
|
log << std::format(L"GPU Desc: {}", adapterDescription.Description) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue