Skip to content

Commit 1b67b91

Browse files
committed
fix inverted logic
1 parent 0afd863 commit 1b67b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/vectorio/VectorShape.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ bool vectorio_vector_shape_fill_area(vectorio_vector_shape_t *self, const _displ
233233
}
234234

235235
// We double-check this to fast-path the case when a pixel is not covered by the shape & not call the color converter unnecessarily.
236-
if (output_pixel.opaque) {
236+
if (!output_pixel.opaque) {
237237
VECTORIO_SHAPE_PIXEL_DEBUG(" (encountered transparent pixel from colorconverter; input area is not fully covered)\n");
238238
full_coverage = false;
239239
}

0 commit comments

Comments
 (0)