Param gpu_name

pull/197/head
FlightlessMango 4 years ago
parent 1ddcc531ff
commit f3422af562

@ -1321,9 +1321,11 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2&
data.version_gl.is_gles ? " ES" : "");
}
// ImGui::SameLine();
if (params.enabled[OVERLAY_PARAM_ENABLED_gpu_name] && !data.gpuName.empty()){
ImGui::Dummy(ImVec2(0.0,5.0f));
ImGui::TextColored(engine_color,
"%s", data.gpuName.c_str());
}
if (params.enabled[OVERLAY_PARAM_ENABLED_arch]){
ImGui::Dummy(ImVec2(0.0,5.0f));
ImGui::TextColored(engine_color, "%s", "" MANGOHUD_ARCH);

@ -43,6 +43,7 @@ typedef unsigned long KeySym;
OVERLAY_PARAM_BOOL(arch) \
OVERLAY_PARAM_BOOL(media_player) \
OVERLAY_PARAM_BOOL(version) \
OVERLAY_PARAM_BOOL(gpu_name) \
OVERLAY_PARAM_CUSTOM(fps_sampling_period) \
OVERLAY_PARAM_CUSTOM(output_file) \
OVERLAY_PARAM_CUSTOM(font_file) \

Loading…
Cancel
Save