Skip to content

Commit e683729

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents a788de9 + 62026bc commit e683729

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared-module/vectorio/VectorShape.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ bool vectorio_vector_shape_fill_area(vectorio_vector_shape_t *self, const _displ
411411
if (colorspace->depth == 16) {
412412
VECTORIO_SHAPE_PIXEL_DEBUG(" buffer = %04x 16", output_pixel.pixel);
413413
*(((uint16_t *)buffer) + pixel_index) = output_pixel.pixel;
414+
} else if (colorspace->depth == 32) {
415+
VECTORIO_SHAPE_PIXEL_DEBUG(" buffer = %04x 32", output_pixel.pixel);
416+
*(((uint32_t *)buffer) + pixel_index) = output_pixel.pixel;
414417
} else if (colorspace->depth == 8) {
415418
VECTORIO_SHAPE_PIXEL_DEBUG(" buffer = %02x 8", output_pixel.pixel);
416419
*(((uint8_t *)buffer) + pixel_index) = output_pixel.pixel;

0 commit comments

Comments
 (0)