aboutsummaryrefslogtreecommitdiffstats
path: root/gui/fpgaviewwidget.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-03-12 14:03:28 +0000
committerDavid Shah <dave@ds0.me>2019-03-12 14:03:28 +0000
commit97993e76eabb6ac32c50871aa618d53b35118736 (patch)
tree44e59b86897ac08484f3f84446bb43fe36eaecef /gui/fpgaviewwidget.cc
parent661857fe8ec2d49b67625dad23dae46532f4eed7 (diff)
downloadnextpnr-97993e76eabb6ac32c50871aa618d53b35118736.tar.gz
nextpnr-97993e76eabb6ac32c50871aa618d53b35118736.tar.bz2
nextpnr-97993e76eabb6ac32c50871aa618d53b35118736.zip
gui/fpgaviewwidget: Make background opaque
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'gui/fpgaviewwidget.cc')
-rw-r--r--gui/fpgaviewwidget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc
index ac6cd969..c932c3e7 100644
--- a/gui/fpgaviewwidget.cc
+++ b/gui/fpgaviewwidget.cc
@@ -114,7 +114,7 @@ void FPGAViewWidget::initializeGL()
initializeOpenGLFunctions();
QtImGui::initialize(this);
glClearColor(colors_.background.red() / 255, colors_.background.green() / 255, colors_.background.blue() / 255,
- 0.0);
+ 1.0);
}
float FPGAViewWidget::PickedElement::distance(Context *ctx, float wx, float wy) const