ExtendedTools: Fix GPU monitoring settings
@@ -67,12 +67,12 @@ PH_CIRCULAR_BUFFER_ULONG64 EtGpuFanRpmHistory;
VOID EtGpuMonitorInitialization(
VOID
)
+{
+ if (PhGetIntegerSetting(SETTING_NAME_ENABLE_GPU_MONITOR))
{
EtGpuSupported = PhWindowsVersion >= WINDOWS_10_RS4;
EtD3DEnabled = EtGpuSupported && !!PhGetIntegerSetting(SETTING_NAME_ENABLE_GPUPERFCOUNTERS);
- if (PhGetIntegerSetting(SETTING_NAME_ENABLE_GPU_MONITOR))
- {
EtpGpuAdapterList = PhCreateList(4);
if (EtpInitializeD3DStatistics())
