diff --git a/src/qt/qt_opengloptions.cpp b/src/qt/qt_opengloptions.cpp index 0d5b9fc77..04ca16234 100644 --- a/src/qt/qt_opengloptions.cpp +++ b/src/qt/qt_opengloptions.cpp @@ -49,6 +49,10 @@ OpenGLOptions::OpenGLOptions(QObject *parent, bool loadConfig, const QString &gl : QObject(parent) , m_glslVersion(glslVersion) { + m_filter = video_filter_method == 0 + ? FilterType::Nearest + : FilterType::Linear; + if (!loadConfig) return; @@ -60,10 +64,6 @@ OpenGLOptions::OpenGLOptions(QObject *parent, bool loadConfig, const QString &gl ? RenderBehaviorType::SyncWithVideo : RenderBehaviorType::TargetFramerate; - m_filter = video_filter_method == 0 - ? FilterType::Nearest - : FilterType::Linear; - QString shaderPath(video_shader); if (shaderPath.isEmpty()) {