aboutsummaryrefslogtreecommitdiffstats
path: root/gui/lineshader.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2021-01-28 16:10:22 +0000
committerGitHub <noreply@github.com>2021-01-28 16:10:22 +0000
commit15b2852b916c1299dfc1d91a217de3060701bfbe (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /gui/lineshader.cc
parent0d9790421699a22fc6a5962b41910c3b7d089353 (diff)
parent94e8847d674388c3c8ac663fa4912bb8029b2951 (diff)
downloadnextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.gz
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.bz2
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.zip
Merge pull request #556 from YosysHQ/dave/cleanup
General opportunistic cleanup
Diffstat (limited to 'gui/lineshader.cc')
-rw-r--r--gui/lineshader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/lineshader.cc b/gui/lineshader.cc
index eded1689..4175dcec 100644
--- a/gui/lineshader.cc
+++ b/gui/lineshader.cc
@@ -26,7 +26,7 @@ void PolyLine::buildPoint(LineShaderData *building, const QVector2D *prev, const
const QVector2D *next) const
{
// buildPoint emits two vertices per line point, along with normals to move
- // them the right directio when rendering and miter to compensate for
+ // them the right direction when rendering and miter to compensate for
// bends.
if (cur == nullptr) {
@@ -104,7 +104,7 @@ void PolyLine::build(LineShaderData &target) const
// For every point on the line, call buildPoint with (prev, point, next).
// If we're building a closed line, prev/next wrap around. Otherwise
- // they are passed as nullptr and buildPoint interprets that accordinglu.
+ // they are passed as nullptr and buildPoint interprets that accordingly.
const QVector2D *prev = nullptr;
// Loop iterator used to ensure next is valid.