diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-16 08:07:57 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-16 08:07:57 +0200 |
commit | 29df566a60e575462a8dd96a1d405f7d5632f38d (patch) | |
tree | 3fb1fc013dd91f5bc843715d8ef0b46c62dc9c06 /gui | |
parent | 5531546d6bcf188c27449b6256108c6c722b5b5b (diff) | |
download | nextpnr-29df566a60e575462a8dd96a1d405f7d5632f38d.tar.gz nextpnr-29df566a60e575462a8dd96a1d405f7d5632f38d.tar.bz2 nextpnr-29df566a60e575462a8dd96a1d405f7d5632f38d.zip |
Fix MSVC build
Diffstat (limited to 'gui')
-rw-r--r-- | gui/fpgaviewwidget.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index 2d8d4cef..3ac69463 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -400,10 +400,10 @@ void FPGAViewWidget::paintGL() } lineShader_.draw(grid, gridColor_, thick1Px, matrix); - LineShaderData shaders[4] = {[GraphicElement::G_FRAME] = LineShaderData(), - [GraphicElement::G_HIDDEN] = LineShaderData(), - [GraphicElement::G_INACTIVE] = LineShaderData(), - [GraphicElement::G_ACTIVE] = LineShaderData()}; + LineShaderData shaders[4] = {LineShaderData(), + LineShaderData(), + LineShaderData(), + LineShaderData()}; if (ctx_) { // Draw Bels. |