renderer: Run glFinish() after rendering dmabuf frame

pull/40/head
Andri Yngvason 2020-04-26 14:04:29 +00:00
parent 06a249897b
commit 8cc8c198d2
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ int render_dmabuf(struct renderer* self, struct dmabuf_frame* frame)
eglDestroyImageKHR(self->display, image); eglDestroyImageKHR(self->display, image);
render_frame(self); render_frame(self);
glFinish();
glBindTexture(GL_TEXTURE_EXTERNAL_OES, 0); glBindTexture(GL_TEXTURE_EXTERNAL_OES, 0);
glDeleteTextures(1, &tex); glDeleteTextures(1, &tex);