ui/shader: free associated programs
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
8fe496adac
commit
532042d573
@ -172,5 +172,8 @@ void qemu_gl_fini_shader(QemuGLShader *gls)
|
||||
if (!gls) {
|
||||
return;
|
||||
}
|
||||
glDeleteProgram(gls->texture_blit_prog);
|
||||
glDeleteProgram(gls->texture_blit_flip_prog);
|
||||
glDeleteProgram(gls->texture_blit_vao);
|
||||
g_free(gls);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user