Skip to content
Commit 14c6e6fc authored by James O'Leary's avatar James O'Leary
Browse files

Fix crash when quantizing

Incoming pixels are negative numbers. Performing this operation
ensures we receive an accurate alpha value, without it, all pixels have negative alphas.

Fixes: 182523380
Test: Add logs, see that alphas _before_ this patch are logged
as negative numbers, causing all pixels to be marked as transparent and ignored in quantization. Add patch, see logs
indicate valid alphas.

Change-Id: Ice7b7db245de9dd089cffc490b2e24780f9c025b
parent c22a3780
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment