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
Failed to generate hash of commit

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, \