diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-06-03 12:19:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-03 12:19:20 -0700 |
| commit | 547beb5d4740f8e5b5db5d57a7544a4b765ef0c5 (patch) | |
| tree | 5b445330d04a03f517dc490b53c87f9c5a5e7516 /shared-module/vectorio/VectorShape.c | |
| parent | 01e294536c3ca36a8c9ad0e3b2c14adb5c2b85b5 (diff) | |
| parent | 79cd86445ee352861a68d395114a15c3cd4edee5 (diff) | |
Merge pull request #2981 from Flameeyes/master
Set up basic integration with pre-commit.
Diffstat (limited to 'shared-module/vectorio/VectorShape.c')
| -rw-r--r-- | shared-module/vectorio/VectorShape.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-module/vectorio/VectorShape.c b/shared-module/vectorio/VectorShape.c index 4fb353aae..bfe8a7b25 100644 --- a/shared-module/vectorio/VectorShape.c +++ b/shared-module/vectorio/VectorShape.c @@ -191,7 +191,7 @@ bool vectorio_vector_shape_fill_area(vectorio_vector_shape_t *self, const _displ bool full_coverage = displayio_area_equal(area, &overlap); uint8_t pixels_per_byte = 8 / colorspace->depth; - + uint32_t linestride_px = displayio_area_width(area); uint32_t line_dirty_offset_px = (overlap.y1 - area->y1) * linestride_px; uint32_t column_dirty_offset_px = overlap.x1 - area->x1; @@ -332,5 +332,3 @@ void vectorio_vector_shape_update_transform(vectorio_vector_shape_t *self, displ self->absolute_transform = group_transform == NULL ? &null_transform : group_transform; common_hal_vectorio_vector_shape_set_dirty(self); } - - |
