# HG changeset patch # User Mike Becker # Date 1747375463 -7200 # Node ID 03204dc67216ee0f46d0f26909105cf9df76f7cc # Parent 737a676a46a6a5138ceaab90da91d36da32cef83 add TODO for fixing color type conversion diff -r 737a676a46a6 -r 03204dc67216 src/ascension/datatypes.h --- 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,