Minor /analyze fixes
This commit is contained in:
Родитель
50143e5be7
Коммит
d92a26ec9d
|
@ -582,7 +582,7 @@ void DeviceResources::GetHardwareAdapter(IDXGIAdapter1** ppAdapter)
|
|||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
WCHAR buff[256] = {};
|
||||
wchar_t buff[256] = {};
|
||||
swprintf_s(buff, L"Direct3D Adapter (%u): VID:%04X, PID:%04X - %ls\n", adapterIndex, desc.VendorId, desc.DeviceId, desc.Description);
|
||||
OutputDebugStringW(buff);
|
||||
#endif
|
||||
|
|
|
@ -582,7 +582,7 @@ void DeviceResources::GetHardwareAdapter(IDXGIAdapter1** ppAdapter)
|
|||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
WCHAR buff[256] = {};
|
||||
wchar_t buff[256] = {};
|
||||
swprintf_s(buff, L"Direct3D Adapter (%u): VID:%04X, PID:%04X - %ls\n", adapterIndex, desc.VendorId, desc.DeviceId, desc.Description);
|
||||
OutputDebugStringW(buff);
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче