fix: FeComposite in2 on Android (#2516)

# Summary

While working on
https://github.com/software-mansion/react-native-svg/pull/2514 I've
noticed a bug in `FeComposite` on Android that `in2` was ignored

## Test Plan

Run Example app -> filters -> FeComposite on Android

## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| Android |          |
This commit is contained in:
Jakub Grzywacz
2024-10-28 15:01:19 +01:00
committed by GitHub
parent eb4889c000
commit fd9397c1f9

View File

@@ -90,6 +90,7 @@ class FeCompositeView extends FilterPrimitiveView {
int[] pixels2 = new int[nPixels];
result.getPixels(
pixels1, 0, result.getWidth(), 0, 0, result.getWidth(), result.getHeight());
in2.getPixels(pixels2, 0, result.getWidth(), 0, 0, result.getWidth(), result.getHeight());
for (int i = 0; i < nPixels; i++) {
int color1 = pixels1[i];