Having colors equal to themselves in the XOR table is not a good idea.
Reintroduce a bit of scrambling again. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2051 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
72d8f5a49d
commit
ee83b59464
@ -2972,7 +2972,7 @@ static void compute_xor_table()
|
|||||||
// Initialize the table with some "random" values
|
// Initialize the table with some "random" values
|
||||||
for(i = 0; i < 256; i++)
|
for(i = 0; i < 256; i++)
|
||||||
{
|
{
|
||||||
xor_lut[i] = i;
|
xor_lut[i] = i ^ 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user