> +int GGI_color_TRUE_unmappixel_gte8(ggi_visual *vis, ggi_pixel pixel,
> +int GGI_color_TRUE_unmappixel_gte4(ggi_visual *vis, ggi_pixel pixel,
> +int GGI_color_TRUE_unmappixel_gte2(ggi_visual *vis, ggi_pixel pixel,
> +/* For the rare but extremely painful cases. */
> +int GGI_color_TRUE_unmappixel_gte1(ggi_visual *vis, ggi_pixel pixel,
> + if (COLOR_TRUEPRIV(vis)->red_tot >= 8 &&
> + else if (COLOR_TRUEPRIV(vis)->red_tot >= 4 &&
> + else if (COLOR_TRUEPRIV(vis)->red_tot >= 2 &&
> + else vis->opcolor->unmappixel =
> + GGI_color_TRUE_unmappixel_gte1;
Hmm - I had thought that you would make different libs like color_r8gb8b or
similar. But maybe that would be overkill - especially as each and every
targets mode setup function would have to be changed.
CU, Andy
--
= Andreas Beck | Email : <[EMAIL PROTECTED]> =