diff options
author | Adrian Jeakins <jeakinsadrian@gmail.com> | 2018-12-20 22:21:10 +0000 |
---|---|---|
committer | Adrian Jeakins <jeakinsadrian@gmail.com> | 2018-12-20 22:21:10 +0000 |
commit | 3cdd83a3bed88d869c8aa97f66e4c88d3cfa7aff (patch) | |
tree | 98d291599f791bbbb738a36cb2cf32cafba26971 | |
parent | 38f80b10486bb7f10873d327564bfe075cabe54d (diff) | |
download | nextpnr-3cdd83a3bed88d869c8aa97f66e4c88d3cfa7aff.tar.gz nextpnr-3cdd83a3bed88d869c8aa97f66e4c88d3cfa7aff.tar.bz2 nextpnr-3cdd83a3bed88d869c8aa97f66e4c88d3cfa7aff.zip |
Remove format versioning now this is set at the top level application.
-rw-r--r-- | gui/fpgaviewwidget.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index 3fba6bff..e0a81486 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -59,20 +59,6 @@ FPGAViewWidget::FPGAViewWidget(QWidget *parent) rendererArgs_->gridChanged = false; rendererArgs_->zoomOutbound = true; - auto fmt = format(); - fmt.setMajorVersion(3); - fmt.setMinorVersion(2); - setFormat(fmt); - - fmt = format(); - if (fmt.majorVersion() < 3) { - printf("Could not get OpenGL 3.0 context. Aborting.\n"); - log_abort(); - } - if (fmt.minorVersion() < 2) { - printf("Could not get OpenGL 3.2 context - trying anyway...\n "); - } - connect(&paintTimer_, SIGNAL(timeout()), this, SLOT(update())); paintTimer_.start(1000 / 20); // paint GL 20 times per second |