diff options
Diffstat (limited to 'hw/vigs/vigs_gl_backend.c')
-rw-r--r-- | hw/vigs/vigs_gl_backend.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vigs/vigs_gl_backend.c b/hw/vigs/vigs_gl_backend.c index 7fcd2c092f..94b95ff5c0 100644 --- a/hw/vigs/vigs_gl_backend.c +++ b/hw/vigs/vigs_gl_backend.c @@ -2938,6 +2938,9 @@ void vigs_gl_backend_cleanup(struct vigs_gl_backend *gl_backend) if (gl_backend->dpy_tex) { gl_backend->DeleteTextures(1, &gl_backend->dpy_tex); } + if (gl_backend->dpy_fb) { + gl_backend->DeleteFramebuffers(1, &gl_backend->dpy_fb); + } gl_backend->DeleteBuffers(1, &gl_backend->dpy_vbo); gl_backend->DetachShader(gl_backend->dpy_scale_prog_id, gl_backend->dpy_scale_prog_vs_id); |