diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-06-21 19:12:20 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-06-22 14:27:04 +0100 |
commit | 98b1f0c041b01d07f64e8e04503f8eccb05a93de (patch) | |
tree | 4775cd11552fd1da22d1da7824ccbe41a64f14bb /ice40 | |
parent | 4e480a9a61e62c5e335d8736afa72e108ebaedfb (diff) | |
download | nextpnr-98b1f0c041b01d07f64e8e04503f8eccb05a93de.tar.gz nextpnr-98b1f0c041b01d07f64e8e04503f8eccb05a93de.tar.bz2 nextpnr-98b1f0c041b01d07f64e8e04503f8eccb05a93de.zip |
Reimplement FPGAWidget in modern OpenGL.
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index 8143a902..c82cada3 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -20,6 +20,7 @@ #ifdef MAIN_EXECUTABLE #include <QApplication> +#include <QSurfaceFormat> #include <boost/filesystem/convenience.hpp> #include <boost/program_options.hpp> #include <fstream> @@ -312,6 +313,9 @@ int main(int argc, char *argv[]) if (vm.count("gui")) { QApplication a(argc, argv); + QSurfaceFormat fmt; + fmt.setSamples(10); + QSurfaceFormat::setDefaultFormat(fmt); MainWindow w(&ctx); w.show(); |