aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:50 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:50 +0100
commit36b4e3382dc552fcd1b078bdd246dc14379394a1 (patch)
treedfd8c295328e7452eaec3158b98bd7b153668dcd /ice40/main.cc
parent836d8c1ef3295a34c591324ef4c8ec48687279ee (diff)
downloadnextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.tar.gz
nextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.tar.bz2
nextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.zip
Revert "Make GUI nice and smooth."
This reverts commit a8c84e90a39c54174dd24b5b76bd17aed8311481.
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index d38c786c..e77bdd34 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -51,8 +51,7 @@ void svg_dump_decal(const Context *ctx, const DecalXY &decal)
const float scale = 10.0, offset = 10.0;
const std::string style = "stroke=\"black\" stroke-width=\"0.1\" fill=\"none\"";
- auto &&proxy = ctx->rproxy();
- for (auto &el : proxy.getDecalGraphics(decal.decal)) {
+ for (auto &el : ctx->getDecalGraphics(decal.decal)) {
if (el.type == GraphicElement::G_BOX) {
std::cout << "<rect x=\"" << (offset + scale * (decal.x + el.x1)) << "\" y=\""
<< (offset + scale * (decal.y + el.y1)) << "\" height=\"" << (scale * (el.y2 - el.y1))