diff options
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c index 4702254df5..05db335d30 100644 --- a/video/out/opengl/utils.c +++ b/video/out/opengl/utils.c @@ -287,6 +287,8 @@ bool fbotex_change(struct fbotex *fbo, GL *gl, struct mp_log *log, int w, int h, GLenum filter = fbo->tex_filter; + fbotex_uninit(fbo); + *fbo = (struct fbotex) { .gl = gl, .rw = w, |