@@ -250,22 +250,20 @@ void HudElements::gpu_stats(){
250
250
ImGui::PopFont ();
251
251
}
252
252
253
- if (HUDElements.vendorID == 0x1002 || HUDElements.vendorID == 0x10de ){
254
- if (HUDElements.params ->enabled [OVERLAY_PARAM_ENABLED_gpu_fan] && cpuStats.cpu_type != " APU" ){
255
- ImguiNextColumnOrNewRow ();
256
- right_aligned_text (text_color, HUDElements.ralign_width , " %i" , gpu->metrics .fan_speed );
253
+ if (HUDElements.params ->enabled [OVERLAY_PARAM_ENABLED_gpu_fan] && cpuStats.cpu_type != " APU" ){
254
+ ImguiNextColumnOrNewRow ();
255
+ right_aligned_text (text_color, HUDElements.ralign_width , " %i" , gpu->metrics .fan_speed );
256
+ ImGui::SameLine (0 , 1 .0f );
257
+ if (gpu->metrics .fan_rpm ) {
258
+ ImGui::PushFont (HUDElements.sw_stats ->font1 );
259
+ HUDElements.TextColored (HUDElements.colors .text , " RPM" );
260
+ } else {
261
+ HUDElements.TextColored (HUDElements.colors .text , " %%" );
262
+ ImGui::PushFont (HUDElements.sw_stats ->font1 );
257
263
ImGui::SameLine (0 , 1 .0f );
258
- if (gpu->metrics .fan_rpm ) {
259
- ImGui::PushFont (HUDElements.sw_stats ->font1 );
260
- HUDElements.TextColored (HUDElements.colors .text , " RPM" );
261
- } else {
262
- HUDElements.TextColored (HUDElements.colors .text , " %%" );
263
- ImGui::PushFont (HUDElements.sw_stats ->font1 );
264
- ImGui::SameLine (0 , 1 .0f );
265
- HUDElements.TextColored (HUDElements.colors .text , " FAN" );
266
- }
267
- ImGui::PopFont ();
264
+ HUDElements.TextColored (HUDElements.colors .text , " FAN" );
268
265
}
266
+ ImGui::PopFont ();
269
267
}
270
268
271
269
if (HUDElements.params ->enabled [OVERLAY_PARAM_ENABLED_gpu_core_clock]){
0 commit comments