yuzu: add opengl shader backend info in status bar
This commit is contained in:
parent
125a0e5a07
commit
a64ad8315f
3 changed files with 14 additions and 1 deletions
|
@ -4115,7 +4115,13 @@ void GMainWindow::UpdateDockedButton() {
|
|||
void GMainWindow::UpdateAPIText() {
|
||||
const auto api = Settings::values.renderer_backend.GetValue();
|
||||
const auto renderer_status_text = Config::renderer_backend_texts_map.find(api)->second;
|
||||
renderer_status_button->setText(renderer_status_text.toUpper());
|
||||
renderer_status_button->setText(
|
||||
api == Settings::RendererBackend::OpenGL
|
||||
? tr("%1 %2").arg(
|
||||
renderer_status_text.toUpper(),
|
||||
Config::shader_backend_texts_map.find(Settings::values.shader_backend.GetValue())
|
||||
->second)
|
||||
: renderer_status_text.toUpper());
|
||||
}
|
||||
|
||||
void GMainWindow::UpdateFilterText() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue