mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-27 20:47:52 +00:00
option to disable anti aliasing in gui
This commit is contained in:
@@ -107,6 +107,7 @@ po::options_description CommandHandler::getGeneralOptions()
|
||||
general.add_options()("force,f", "keep running after errors");
|
||||
#ifndef NO_GUI
|
||||
general.add_options()("gui", "start gui");
|
||||
general.add_options()("gui-no-aa", "disable anti aliasing");
|
||||
#endif
|
||||
#ifndef NO_PYTHON
|
||||
general.add_options()("run", po::value<std::vector<std::string>>(),
|
||||
@@ -235,7 +236,7 @@ int CommandHandler::executeMain(std::unique_ptr<Context> ctx)
|
||||
|
||||
#ifndef NO_GUI
|
||||
if (vm.count("gui")) {
|
||||
Application a(argc, argv);
|
||||
Application a(argc, argv, (vm.count("gui-no-aa") > 0));
|
||||
MainWindow w(std::move(ctx), chipArgs);
|
||||
try {
|
||||
if (vm.count("json")) {
|
||||
|
||||
Reference in New Issue
Block a user