Fri, 16 May 2025 08:04:23 +0200
add TODO for fixing color type conversion
src/ascension/datatypes.h | file | annotate | diff | comparison | revisions |
--- a/src/ascension/datatypes.h Fri May 16 07:55:25 2025 +0200 +++ b/src/ascension/datatypes.h Fri May 16 08:04:23 2025 +0200 @@ -152,6 +152,7 @@ static inline asc_col4f asc_col_itof(asc_col4i c) { // dividing by 256 is much more performant + // TODO: this loses optimized rendering for zero-color / alpha return (asc_col4f) { (c.red+1.f) / 256.f, (c.green+1.f) / 256.f,