diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-05 10:33:11 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-05 10:33:11 +0200 |
commit | 2f5b5369ba0a735e44ca425d5a22f911f73e6a35 (patch) | |
tree | 4adde318e7d2d65b1d9e30fbd1f7f7e73158692b /gui | |
parent | 2fe13e7a079eb5df30f23b0e4da33d8d8067a9b1 (diff) | |
download | nextpnr-2f5b5369ba0a735e44ca425d5a22f911f73e6a35.tar.gz nextpnr-2f5b5369ba0a735e44ca425d5a22f911f73e6a35.tar.bz2 nextpnr-2f5b5369ba0a735e44ca425d5a22f911f73e6a35.zip |
Disable warning from qt5 and
Diffstat (limited to 'gui')
-rw-r--r-- | gui/fpgaviewwidget.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index 12d52c77..bf26d0b5 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -360,8 +360,8 @@ void FPGAViewWidget::paintGL() for (auto &el : ctx_->getBelGraphics(bel)) drawElement(bels, el); } + lineShader_.draw(bels, matrix); } - lineShader_.draw(bels, matrix); // Draw Frame Graphics. auto frames = LineShaderData(0.02f, QColor("#0066ba")); @@ -369,8 +369,8 @@ void FPGAViewWidget::paintGL() for (auto &el : ctx_->getFrameGraphics()) { drawElement(frames, el); } + lineShader_.draw(frames, matrix); } - lineShader_.draw(frames, matrix); } void FPGAViewWidget::resizeGL(int width, int height) {} |