all repos — mgba @ 7f5102e26ca8e43f2fa203eaa8f37c3bb26c0052

mGBA Game Boy Advance Emulator

Qt: Clean up redundant config tweaking
Vicki Pfau vi@endrift.com
Wed, 14 Oct 2020 20:41:32 -0700
commit

7f5102e26ca8e43f2fa203eaa8f37c3bb26c0052

parent

6ffa43d453f76e84d2f93190ce43f66c6851c1e2

1 files changed, 0 insertions(+), 6 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -252,11 +252,6 @@ m_audioProcessor->requestSampleRate(opts->sampleRate);

} m_display->resizeContext(); } - if (m_display) { - m_display->lockAspectRatio(opts->lockAspectRatio); - m_display->filter(opts->resampleVideo); - } - m_screenWidget->filter(opts->resampleVideo); m_inputController.setScreensaverSuspendable(opts->suspendScreensaver); }

@@ -908,7 +903,6 @@ m_display->lockAspectRatio(opts->lockAspectRatio);

m_display->lockIntegerScaling(opts->lockIntegerScaling); m_display->interframeBlending(opts->interframeBlending); m_display->filter(opts->resampleVideo); - m_screenWidget->filter(opts->resampleVideo); m_config->updateOption("showOSD"); #if defined(BUILD_GL) || defined(BUILD_GLES2) if (opts->shader) {