mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Effect: Call glFinish before providing VFP output texture
glFinish should be called before reading from a texture, to make sure it's been properly rendered to. PiperOrigin-RevId: 527302946
This commit is contained in:
parent
85e449cd87
commit
fdeeaba9d8
1 changed files with 1 additions and 0 deletions
|
|
@ -341,6 +341,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
outputTexture.fboId, outputTexture.width, outputTexture.height);
|
||||
GlUtil.clearOutputFrame();
|
||||
checkNotNull(defaultShaderProgram).drawFrame(inputTexture.texId, presentationTimeUs);
|
||||
GLES20.glFinish();
|
||||
checkNotNull(textureOutputListener).onTextureRendered(outputTexture, presentationTimeUs);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue