aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-06-22 15:54:05 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-06-22 15:54:05 +0100
commit15a7a76415cfb2e9fcbb534b324f829475036bb6 (patch)
treef5cd6d21aed83a341e786fa75a8b0053efb16656 /ice40/main.cc
parenta68478598666d8fea0bef3c1814a96467bdb18ea (diff)
parente5bd4764b27c86fa804700b18bcac5cf18815314 (diff)
downloadnextpnr-15a7a76415cfb2e9fcbb534b324f829475036bb6.tar.gz
nextpnr-15a7a76415cfb2e9fcbb534b324f829475036bb6.tar.bz2
nextpnr-15a7a76415cfb2e9fcbb534b324f829475036bb6.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/gl
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index f2100d45..ae8c7705 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -25,6 +25,7 @@
#include <boost/program_options.hpp>
#include <fstream>
#include <iostream>
+#include "application.h"
#include "bitstream.h"
#include "design_utils.h"
#include "jsonparse.h"
@@ -330,10 +331,7 @@ int main(int argc, char *argv[])
}
if (vm.count("gui")) {
- QApplication a(argc, argv);
- QSurfaceFormat fmt;
- fmt.setSamples(10);
- QSurfaceFormat::setDefaultFormat(fmt);
+ Application a(argc, argv);
MainWindow w(&ctx);
w.show();