mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-04 06:00:23 +00:00
More windows fixes
This commit is contained in:
parent
f74fc5779f
commit
b8bd09d638
@ -43,7 +43,6 @@ vklayer_files = files(
|
||||
'vulkan.cpp',
|
||||
'blacklist.cpp',
|
||||
'file_utils.cpp',
|
||||
'amdgpu.cpp',
|
||||
'intel.cpp'
|
||||
)
|
||||
opengl_files = []
|
||||
@ -73,6 +72,7 @@ if is_unixy
|
||||
'battery.cpp',
|
||||
'control.cpp',
|
||||
'gamepad.cpp',
|
||||
'amdgpu.cpp'
|
||||
)
|
||||
|
||||
opengl_files = files(
|
||||
|
@ -118,10 +118,10 @@ void update_hw_info(const struct overlay_params& params, uint32_t vendorID)
|
||||
if (params.enabled[OVERLAY_PARAM_ENABLED_gpu_stats] || logger->is_active()) {
|
||||
if (vendorID == 0x1002)
|
||||
getAmdGpuInfo();
|
||||
|
||||
#ifdef __linux__
|
||||
if (gpu_metrics_exists)
|
||||
amdgpu_get_metrics();
|
||||
|
||||
#endif
|
||||
if (vendorID == 0x10de)
|
||||
getNvidiaGpuInfo(params);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user