From 451b996713ad5f5126e4c0719b5da9db2ef7d885 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Tue, 5 Oct 2021 19:27:39 -0700 Subject: [PATCH] Qt: Remove auto texture scaling option. Functionality removed in 887f610. --- Qt/mainwindow.cpp | 6 +++--- Qt/mainwindow.h | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index f2dd0410b4..1f56e0e765 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -625,7 +625,7 @@ void MainWindow::createMenus() QList() << 0 << 1); MenuTree* textureFilteringMenu = new MenuTree(this, gameSettingsMenu, QT_TR_NOOP("Te&xture filtering")); textureFilteringGroup = new MenuActionGroup(this, textureFilteringMenu, SLOT(textureFilteringGroup_triggered(QAction *)), - QStringList() << "&Auto" << "&Nearest" << "&Linear" << "Linear on &FMV", + QStringList() << "&Auto" << "&Nearest" << "&Linear" << "Auto Max &Quality", QList() << 1 << 2 << 3 << 4); MenuTree* screenScalingFilterMenu = new MenuTree(this, gameSettingsMenu, QT_TR_NOOP("Scr&een scaling filter")); screenScalingFilterGroup = new MenuActionGroup(this, screenScalingFilterMenu, SLOT(screenScalingFilterGroup_triggered(QAction *)), @@ -634,8 +634,8 @@ void MainWindow::createMenus() MenuTree* textureScalingMenu = new MenuTree(this, gameSettingsMenu, QT_TR_NOOP("&Texture scaling")); textureScalingLevelGroup = new MenuActionGroup(this, textureScalingMenu, SLOT(textureScalingLevelGroup_triggered(QAction *)), - QStringList() << "&Off" << "&Auto" << "&2x" << "&3x" << "&4x" << "&5x", - QList() << 1 << 2 << 3 << 4 << 5 << 6); + QStringList() << "&Off" << "&2x" << "&3x" << "&4x" << "&5x", + QList() << 1 << 2 << 3 << 4 << 5); textureScalingMenu->addSeparator(); textureScalingTypeGroup = new MenuActionGroup(this, textureScalingMenu, SLOT(textureScalingTypeGroup_triggered(QAction *)), QStringList() << "&xBRZ" << "&Hybrid" << "&Bicubic" << "H&ybrid + bicubic", diff --git a/Qt/mainwindow.h b/Qt/mainwindow.h index 26ad5b521c..99c9fc3ad2 100644 --- a/Qt/mainwindow.h +++ b/Qt/mainwindow.h @@ -24,7 +24,6 @@ class MenuTree; enum { FB_NON_BUFFERED_MODE = 0, FB_BUFFERED_MODE = 1, - TEXSCALING_AUTO = 0, }; // hacky, should probably use qt signals or something, but whatever.. @@ -127,9 +126,6 @@ private slots: void renderingResolutionGroup_triggered(QAction *action) { g_Config.iInternalResolution = action->data().toInt(); NativeMessageReceived("gpu_resized", ""); - if (g_Config.iTexScalingLevel == TEXSCALING_AUTO) { - NativeMessageReceived("gpu_clearCache", ""); - } } void windowGroup_triggered(QAction *action) { SetWindowScale(action->data().toInt()); }