Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Allow clearing RGBA64 image with 16 bits color channels. #1495

Open e2002e opened 1 month ago

e2002e commented 1 month ago

Right now, the clear() function for images only takes Int (32bits) as argument. This makes attempt to clear RGBA64 images incomplete.

We need to be able to clear RGBA64 images by either specifying 4 short Int or maybe passing a color that has 16 bits per channels data.

Thanks in advance.