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

This commit is contained in:
Ryan Foster
2023-07-15 16:41:45 -07:00
committed by Lain
parent 41e2791f27
commit 9967322834
+1 -1
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)) {