Possible fix for bug #3400
This commit is contained in:
@@ -1486,11 +1486,13 @@ void RVIsolateHighlights (unsigned char* in, unsigned char* out, int width, int
|
|||||||
out[index+GlowR]=MIN2(255*clamp, (in[index+GlowR]*boost*intensity)/255);
|
out[index+GlowR]=MIN2(255*clamp, (in[index+GlowR]*boost*intensity)/255);
|
||||||
out[index+GlowG]=MIN2(255*clamp, (in[index+GlowG]*boost*intensity)/255);
|
out[index+GlowG]=MIN2(255*clamp, (in[index+GlowG]*boost*intensity)/255);
|
||||||
out[index+GlowB]=MIN2(255*clamp, (in[index+GlowB]*boost*intensity)/255);
|
out[index+GlowB]=MIN2(255*clamp, (in[index+GlowB]*boost*intensity)/255);
|
||||||
|
out[index+GlowA]=in[index+GlowA];
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
out[index+GlowR]=0;
|
out[index+GlowR]=0;
|
||||||
out[index+GlowG]=0;
|
out[index+GlowG]=0;
|
||||||
out[index+GlowB]=0;
|
out[index+GlowB]=0;
|
||||||
|
out[index+GlowA]=0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user