mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 07:23:05 +00:00
SCI: Fix precedence error in comment
svn-id: r54071
This commit is contained in:
parent
5bab2d570b
commit
51f7c4c525
@ -193,8 +193,8 @@ void GfxPalette::modifyAmigaPalette(byte *data) {
|
||||
}
|
||||
|
||||
static byte blendColours(byte c1, byte c2) {
|
||||
// linear:
|
||||
// return (c1/2+c2/2)+(c1&1+c2&1)/2;
|
||||
// linear
|
||||
// return (c1/2+c2/2)+((c1&1)+(c2&1))/2;
|
||||
|
||||
// gamma 2.2
|
||||
double t = 0.5 + (pow (c1/255.0, 2.2/1.0) * 255.0) +
|
||||
|
Loading…
x
Reference in New Issue
Block a user