Ultra HDR: release texture after use
PiperOrigin-RevId: 616209205
This commit is contained in:
parent
fe640da5e8
commit
4d1ede5432
@ -499,6 +499,9 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
super.release();
|
||||
try {
|
||||
glProgram.delete();
|
||||
if (gainmapTexId != C.INDEX_UNSET) {
|
||||
GlUtil.deleteTexture(gainmapTexId);
|
||||
}
|
||||
} catch (GlUtil.GlException e) {
|
||||
throw new VideoFrameProcessingException(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user