solve some bugs

This commit is contained in:
2026-01-05 18:01:13 +08:00
parent 6b64abb1fa
commit 8ed5660faf
17 changed files with 203 additions and 79 deletions
+5 -3
View File
@@ -287,9 +287,7 @@ int main(int argc, char *argv[])
}
}
if (!no_plugin->IsSet()) {
olive::plugin::loadPlugins("plugins");
}
const bool load_plugins = !no_plugin->IsSet();
if (crash_option->IsSet()) {
startup_params.set_crash_on_startup(true);
@@ -341,6 +339,10 @@ int main(int argc, char *argv[])
gui_app->setWindowIcon(QIcon(QStringLiteral(":/graphics/oak-logo.png")));
}
if (load_plugins) {
olive::plugin::loadPlugins("plugins");
}
#ifdef _WIN32
// On Windows, users seem to frequently run into a crash caused by their graphics driver not
// supporting framebuffers, which we require. I personally have only been able to recreate this