all repos — openbox @ 41d72ee51f34731f7b994786a4ae9b75256fc27a

openbox fork - make it a bit more like ryudo

used RrColorShift when RrColorOffset was what we wanted
Dana Jansens danakj@orodu.net
commit

41d72ee51f34731f7b994786a4ae9b75256fc27a

parent

3bca76453f44fa501aee172ee3d1bec39b5efb1c

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M render/color.crender/color.c

@@ -80,9 +80,9 @@ for (x = 0; x < im->width; x++) {

r = (data[x] >> RrDefaultRedOffset) & 0xFF; g = (data[x] >> RrDefaultGreenOffset) & 0xFF; b = (data[x] >> RrDefaultBlueOffset) & 0xFF; - p32[x] = (r << RrRedShift(inst)) - + (g << RrGreenShift(inst)) - + (b << RrBlueShift(inst)); + p32[x] = (r << RrRedOffset(inst)) + + (g << RrGreenOffset(inst)) + + (b << RrBlueOffset(inst)); } data += im->width; p32 += im->width;