| commit | 20cb2e8bbb874a22c4e0311662773e56db0f7d16 | [log] [tgz] |
|---|---|---|
| author | Mike Reed <mike@reedtribe.org> | Mon Feb 21 12:26:07 2022 -0500 |
| committer | Michael Reed <mike@reedtribe.org> | Mon Feb 21 12:49:18 2022 -0500 |
| tree | e306aa77870585d27b731274e26839e727840672 | |
| parent | 00396fb395177a5a48a03c939d2cf9c10f27aa0f [diff] |
manual rebase
diff --git a/src/shapes/paint/linear_gradient.cpp b/src/shapes/paint/linear_gradient.cpp index 3e06259..4b0ef36 100644 --- a/src/shapes/paint/linear_gradient.cpp +++ b/src/shapes/paint/linear_gradient.cpp
@@ -81,6 +81,7 @@ // build up the color and positions lists const double ro = opacity() * renderOpacity(); const auto count = m_Stops.size(); + // TODO: replace these with stack-alloc helpers? ColorInt colors[count]; float stops[count]; for (size_t i = 0; i < count; ++i) {