Ephoto: Use an incrementing hack to get the desired dithered effect.
This commit is contained in:
parent
51a8be20a6
commit
66bb556e56
|
@ -754,7 +754,12 @@ _dither(void *data)
|
||||||
ef->im_data_new[index] = (a << 24) | (rr << 16) |
|
ef->im_data_new[index] = (a << 24) | (rr << 16) |
|
||||||
(gg << 8) | bb;
|
(gg << 8) | bb;
|
||||||
}
|
}
|
||||||
|
/*Extra incrementing the x and y values to get
|
||||||
|
* the desired checkerboard effect is likely a
|
||||||
|
* bad hack*/
|
||||||
|
x++;
|
||||||
}
|
}
|
||||||
|
y++;
|
||||||
passes++;
|
passes++;
|
||||||
if (passes == 500)
|
if (passes == 500)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue