correct comments.
This commit is contained in:
parent
18d1d5ed60
commit
a730e1b1c0
1 changed files with 2 additions and 2 deletions
|
@ -550,7 +550,7 @@ public class Quantize {
|
||||||
alpha = alpha < 128 ? 0 : 0xff;
|
alpha = alpha < 128 ? 0 : 0xff;
|
||||||
|
|
||||||
// this is super weird: on some systems, transparent pixels are
|
// this is super weird: on some systems, transparent pixels are
|
||||||
// not calculated correctly if the following block is taken out.
|
// not calculated correctly if the following line is taken out.
|
||||||
// the bug is very strange, isn't related to the code (compiler error?)
|
// the bug is very strange, isn't related to the code (compiler error?)
|
||||||
// but doesn't allways happen. as soon as it does, though, it doesn't
|
// but doesn't allways happen. as soon as it does, though, it doesn't
|
||||||
// seem to want to go away.
|
// seem to want to go away.
|
||||||
|
@ -558,7 +558,7 @@ public class Quantize {
|
||||||
// and i never found out how to really fix it. the following line seems to
|
// and i never found out how to really fix it. the following line seems to
|
||||||
// prevent it from happening, but i wonder wether there's a better way
|
// prevent it from happening, but i wonder wether there's a better way
|
||||||
// to fix it.
|
// to fix it.
|
||||||
// it looks as if the block forces alpha to take on correct values.
|
// it looks as if the command forces alpha to take on correct values.
|
||||||
// Until now I only knew of effects like that in quantum mechanics...
|
// Until now I only knew of effects like that in quantum mechanics...
|
||||||
if (i == 0) Integer.toString(alpha);
|
if (i == 0) Integer.toString(alpha);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue