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