mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-06-30 08:33:32 +00:00
UI: Remove GPU LUID from system info for Multitrack Video
After further review, this is not needed.
This commit is contained in:
parent
da8fc0d516
commit
d6b7f7ed4f
|
@ -146,13 +146,11 @@ struct Gpu {
|
|||
uint32_t device_id;
|
||||
uint64_t dedicated_video_memory;
|
||||
uint64_t shared_system_memory;
|
||||
string luid;
|
||||
optional<string> driver_version;
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE(Gpu, model, vendor_id, device_id,
|
||||
dedicated_video_memory,
|
||||
shared_system_memory, luid,
|
||||
driver_version)
|
||||
shared_system_memory, driver_version)
|
||||
};
|
||||
|
||||
struct GamingFeatures {
|
||||
|
|
|
@ -23,7 +23,6 @@ static std::optional<std::vector<GoLiveApi::Gpu>> system_gpu_data()
|
|||
|
||||
std::vector<GoLiveApi::Gpu> adapter_info;
|
||||
|
||||
DStr luid_buffer;
|
||||
for (i = 0; factory->EnumAdapters1(i, adapter.Assign()) == S_OK; ++i) {
|
||||
DXGI_ADAPTER_DESC desc;
|
||||
char name[512] = "";
|
||||
|
@ -48,11 +47,6 @@ static std::optional<std::vector<GoLiveApi::Gpu>> system_gpu_data()
|
|||
data.dedicated_video_memory = desc.DedicatedVideoMemory;
|
||||
data.shared_system_memory = desc.SharedSystemMemory;
|
||||
|
||||
dstr_printf(luid_buffer, "luid_0x%08X_0x%08X",
|
||||
desc.AdapterLuid.HighPart,
|
||||
desc.AdapterLuid.LowPart);
|
||||
data.luid = luid_buffer->array;
|
||||
|
||||
/* driver version */
|
||||
LARGE_INTEGER umd;
|
||||
hr = adapter->CheckInterfaceSupport(__uuidof(IDXGIDevice),
|
||||
|
|
Loading…
Reference in a new issue