aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-12 10:35:51 +0000
committergatecat <gatecat@ds0.me>2021-02-12 10:35:51 +0000
commitc956cae8244c094783edc7101fd0ca542c24e55b (patch)
treea246fd235d57000f14d89d4283a91c218cb66b81 /docs
parentad7bb510303e2a3b03bb4a043e62f10a4a0498b2 (diff)
downloadnextpnr-c956cae8244c094783edc7101fd0ca542c24e55b.tar.gz
nextpnr-c956cae8244c094783edc7101fd0ca542c24e55b.tar.bz2
nextpnr-c956cae8244c094783edc7101fd0ca542c24e55b.zip
Make BaseArch getDecalGraphics return an empty range
Fix assertion failure when opening the GUI on an arch without any decals. Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'docs')
-rw-r--r--docs/archapi.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/archapi.md b/docs/archapi.md
index 3535122e..df7cd0a1 100644
--- a/docs/archapi.md
+++ b/docs/archapi.md
@@ -573,7 +573,7 @@ Return the graphic elements that make up a decal.
The same decal must always produce the same list. If the graphics for
a design element changes, that element must return another decal.
-*BaseArch default: asserts false as unreachable due to there being no decals*
+*BaseArch default: returns default-constructed range*
### DecalXY getBelDecal(BelId bel) const