diff options
author | myrtle <gatecat@ds0.me> | 2022-12-21 07:09:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 07:09:27 +0000 |
commit | b101f0092cea6f4195307ebcd693286872ed8288 (patch) | |
tree | ca5cfbeec3e265a7c43654af2089399a020f1cff /gowin/gfx.cc | |
parent | 3ea3a931ca2b9b7228bf241a3fd6cbf861e40696 (diff) | |
parent | d6cbe4b7f83a083ac174d7f8b0dd26eca61ebe53 (diff) | |
download | nextpnr-b101f0092cea6f4195307ebcd693286872ed8288.tar.gz nextpnr-b101f0092cea6f4195307ebcd693286872ed8288.tar.bz2 nextpnr-b101f0092cea6f4195307ebcd693286872ed8288.zip |
Merge pull request #1067 from yrabbit/wasm
gowin: fix build for wasm
Diffstat (limited to 'gowin/gfx.cc')
-rw-r--r-- | gowin/gfx.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gowin/gfx.cc b/gowin/gfx.cc index 5abb1399..a06df6f8 100644 --- a/gowin/gfx.cc +++ b/gowin/gfx.cc @@ -24,6 +24,7 @@ NEXTPNR_NAMESPACE_BEGIN +#ifndef NO_GUI // LUTs const float lut_w = 0.6732 - 0.6386; const float lut_h = 0.9392 - 0.9074; @@ -5824,5 +5825,6 @@ DecalXY gfxGetCruGroupDecalXY(int x, int y) decalxy.y = y; return decalxy; } +#endif // NO_GUI NEXTPNR_NAMESPACE_END |