Fixed nextRow for gpu_power

pull/208/head
FlightlessMango 4 years ago
parent 135f3a5009
commit e9b1b70ebc

@ -1109,8 +1109,9 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2&
ImGui::SameLine(0, 1.0f); ImGui::SameLine(0, 1.0f);
ImGui::Text("°C"); ImGui::Text("°C");
} }
if (params.enabled[OVERLAY_PARAM_ENABLED_gpu_core_clock]){ if (params.enabled[OVERLAY_PARAM_ENABLED_gpu_core_clock] || params.enabled[OVERLAY_PARAM_ENABLED_gpu_power])
ImGui::TableNextRow(); ImGui::TableNextRow();
if (params.enabled[OVERLAY_PARAM_ENABLED_gpu_core_clock]){
ImGui::TableNextCell(); ImGui::TableNextCell();
right_aligned_text(char_width * 4, "%i", gpu_info.CoreClock); right_aligned_text(char_width * 4, "%i", gpu_info.CoreClock);
ImGui::SameLine(0, 1.0f); ImGui::SameLine(0, 1.0f);

Loading…
Cancel
Save