mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
libobs-d3d11: Left-pad device PCI ID to 4 characters with zeroes
This commit is contained in:
parent
41e2791f27
commit
9967322834
|
@ -1459,7 +1459,7 @@ static inline void LogD3DAdapters()
|
||||||
desc.DedicatedVideoMemory);
|
desc.DedicatedVideoMemory);
|
||||||
blog(LOG_INFO, "\t Shared VRAM: %" PRIu64,
|
blog(LOG_INFO, "\t Shared VRAM: %" PRIu64,
|
||||||
desc.SharedSystemMemory);
|
desc.SharedSystemMemory);
|
||||||
blog(LOG_INFO, "\t PCI ID: %x:%x", desc.VendorId,
|
blog(LOG_INFO, "\t PCI ID: %x:%.4x", desc.VendorId,
|
||||||
desc.DeviceId);
|
desc.DeviceId);
|
||||||
|
|
||||||
if (auto hags_support = GetAdapterHagsStatus(&desc)) {
|
if (auto hags_support = GetAdapterHagsStatus(&desc)) {
|
||||||
|
|
Loading…
Reference in a new issue