]> git.localhorst.tv Git - space.git/commitdiff
fix grid2 low step optimization
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 9 Jan 2014 07:11:06 +0000 (08:11 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 9 Jan 2014 07:11:06 +0000 (08:11 +0100)
src/graphics/Canvas.cpp

index 6241ab30dcb00844154406e5a753706fd8b1f2df..768037efbc04bbcdc3269a7de930af4aaaf60135 100644 (file)
@@ -183,7 +183,7 @@ void Grid2Impl(
                canv.SetColor(c1);
                canv.FillRect(pos, size);
                canv.SetColor(c2);
-               GridImpl(canv, pos, size, step);
+               GridImpl(canv, pos, size, step * Vector<Scalar>(n));
                return;
        }