libobs-d3d11: Left-pad device PCI ID to 4 characters with zeroes

This commit is contained in:
Ryan Foster 2023-07-14 16:55:15 -04:00 committed by Lain
parent 41e2791f27
commit 9967322834

View file

@ -1459,7 +1459,7 @@ static inline void LogD3DAdapters()
desc.DedicatedVideoMemory);
blog(LOG_INFO, "\t Shared VRAM: %" PRIu64,
desc.SharedSystemMemory);
blog(LOG_INFO, "\t PCI ID: %x:%x", desc.VendorId,
blog(LOG_INFO, "\t PCI ID: %x:%.4x", desc.VendorId,
desc.DeviceId);
if (auto hags_support = GetAdapterHagsStatus(&desc)) {