mirror of https://github.com/mpv-player/mpv
vo_opengl: fix incorrect glBindFramebuffer() call
Used the wrong binding.
This commit is contained in:
parent
b44e81d9c3
commit
935df644af
|
@ -590,7 +590,7 @@ static void gl_clear(struct ra *ra, struct ra_tex *dst, float color[4],
|
|||
gl->Clear(GL_COLOR_BUFFER_BIT);
|
||||
gl->Disable(GL_SCISSOR_TEST);
|
||||
|
||||
gl->BindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
|
||||
gl->BindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
}
|
||||
|
||||
static void gl_blit(struct ra *ra, struct ra_tex *dst, struct ra_tex *src,
|
||||
|
|
Loading…
Reference in New Issue