mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
[Media3][Shader] Reset the composite RGB matrix upon update
Since the composite matrix is ultimately rewritten to, we need to ensure it's cleared (to identity) before update. Test plan: use an effect as a time based approach and see that the effect no longer clips PiperOrigin-RevId: 518886623
This commit is contained in:
parent
69cece1d82
commit
67f8fbf3bd
1 changed files with 2 additions and 0 deletions
|
|
@ -537,6 +537,8 @@ import java.util.List;
|
|||
return;
|
||||
}
|
||||
|
||||
GlUtil.setToIdentity(compositeRgbMatrixArray);
|
||||
|
||||
for (int i = 0; i < rgbMatrices.size(); i++) {
|
||||
Matrix.multiplyMM(
|
||||
/* result= */ tempResultMatrix,
|
||||
|
|
|
|||
Loading…
Reference in a new issue