diff --git a/src/rendering/twn_lines.c b/src/rendering/twn_lines.c index d37e33c..e9f3d2a 100644 --- a/src/rendering/twn_lines.c +++ b/src/rendering/twn_lines.c @@ -68,7 +68,7 @@ void draw_line_3d(Vec3 start, struct LineVertex const v1 = { .position = finish, .color = color }; /* 3d case, unordered depth based draw */ - struct LineBatchItemKey const key = { .color = color, .thickness = (uint8_t)(floorf(thickness)) }; + struct LineBatchItemKey const key = { .thickness = (uint8_t)(floorf(thickness)) }; struct LineBatchItem *batch_p = hmgetp_null(ctx.line_batches, key); if (!batch_p) { hmput(ctx.line_batches, key, ((struct LinePrimitive){.thickness = thickness, .color = color}));