Skip to content

Commit 0e0e71c

Browse files
committed
Remove unused pixfmt_pre_type
1 parent 7fcb063 commit 0e0e71c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/_image_resample.h

-11
Original file line numberDiff line numberDiff line change
@@ -519,17 +519,6 @@ struct type_mapping
519519
agg::pixfmt_alpha_blend_gray<blender_type, agg::rendering_buffer>,
520520
agg::pixfmt_alpha_blend_rgba<blender_type, agg::rendering_buffer>
521521
>;
522-
using pixfmt_pre_type = std::conditional_t<
523-
is_grayscale_v<color_type>,
524-
pixfmt_type,
525-
agg::pixfmt_alpha_blend_rgba<
526-
std::conditional_t<
527-
std::is_same_v<color_type, agg::rgba8>,
528-
fixed_blender_rgba_pre<color_type, agg::order_rgba>,
529-
agg::blender_rgba_pre<color_type, agg::order_rgba>
530-
>,
531-
agg::rendering_buffer>
532-
>;
533522
template<typename A> using span_gen_affine_type = std::conditional_t<
534523
is_grayscale_v<color_type>,
535524
agg::span_image_resample_gray_affine<A>,

0 commit comments

Comments
 (0)