add missing url about the COLOR macro

This commit is contained in:
Leonardo Hernández Hernández 2023-10-05 22:06:30 -06:00
parent 0ab1ed6530
commit f4031590cd
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

View File

@ -1,3 +1,4 @@
/* Taken from https://github.com/djpohly/dwl/issues/466 */
#define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \ #define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \
((hex >> 16) & 0xFF) / 255.0f, \ ((hex >> 16) & 0xFF) / 255.0f, \
((hex >> 8) & 0xFF) / 255.0f, \ ((hex >> 8) & 0xFF) / 255.0f, \