ref: e66ebc9f37e8a37581f09baf91da91a6a66e8990
parent: 6be8fbebaa275caf6b43c26a41d2328e04a034c3
author: qwx <qwx@sciops.net>
date: Mon Mar 16 10:59:46 EDT 2020
drw: darken shadows a tad still doesn't look right the resulting color is different in more than just brightness will have to look into it further
--- a/drw.c
+++ b/drw.c
@@ -152,9 +152,9 @@
v = *q++;
if(v & 0xff << 24){
v = p[0];
- v = (v & 0xff0000) * 0x96 / 0xff & 0xff0000
- | (v & 0xff00) * 0x96 / 0xff & 0xff00
- | (v & 0xff) * 0x96 / 0xff & 0xff;
+ v = (v & 0xff0000) * 0x7f / 0xff & 0xff0000
+ | (v & 0xff00) * 0x7f / 0xff & 0xff00
+ | (v & 0xff) * 0x7f / 0xff & 0xff;
for(n=0; n<scale; n++)
*p++ = v;
}else