renderer-egl: Use glFlush instead of glFinish

pull/23/head
Andri Yngvason 2022-10-09 19:29:43 +00:00
parent 1baf3a902c
commit 087a78e551
1 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ void render_image_egl(struct buffer* dst, const struct image* src,
glDisable(GL_SCISSOR_TEST); glDisable(GL_SCISSOR_TEST);
glFinish(); glFlush();
glBindTexture(GL_TEXTURE_2D, 0); glBindTexture(GL_TEXTURE_2D, 0);
@ -534,7 +534,7 @@ void render_av_frames_egl(struct buffer* dst, struct vnc_av_frame** src,
glDisable(GL_SCISSOR_TEST); glDisable(GL_SCISSOR_TEST);
glFinish(); glFlush();
glBindFramebuffer(GL_FRAMEBUFFER, 0); glBindFramebuffer(GL_FRAMEBUFFER, 0);
glDeleteFramebuffers(1, &fbo.fbo); glDeleteFramebuffers(1, &fbo.fbo);