gui/fpgaviewwidget: Make background opaque

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-03-12 14:03:28 +00:00
parent 661857fe8e
commit 97993e76ea

View File

@ -114,7 +114,7 @@ void FPGAViewWidget::initializeGL()
initializeOpenGLFunctions(); initializeOpenGLFunctions();
QtImGui::initialize(this); QtImGui::initialize(this);
glClearColor(colors_.background.red() / 255, colors_.background.green() / 255, colors_.background.blue() / 255, 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 float FPGAViewWidget::PickedElement::distance(Context *ctx, float wx, float wy) const