aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-26 15:47:22 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-26 15:47:43 +0200
commit0bd73c19778c9bdbc8e6d85c120715e239a9bc0d (patch)
treec269c560c2dc284a4721bea2722a73bb522e5e3e /ice40
parent6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f (diff)
downloadnextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.gz
nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.tar.bz2
nextpnr-0bd73c19778c9bdbc8e6d85c120715e239a9bc0d.zip
Make GUI use recreated context
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 7f913bb3..d8435b73 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -399,7 +399,7 @@ int main(int argc, char *argv[])
#ifndef NO_GUI
if (vm.count("gui")) {
Application a(argc, argv);
- MainWindow w(&ctx);
+ MainWindow w;
w.show();
rc = a.exec();