mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -172,5 +172,8 @@ void qemu_gl_fini_shader(QemuGLShader *gls)
|
||||||
if (!gls) {
|
if (!gls) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
glDeleteProgram(gls->texture_blit_prog);
|
||||||
|
glDeleteProgram(gls->texture_blit_flip_prog);
|
||||||
|
glDeleteProgram(gls->texture_blit_vao);
|
||||||
g_free(gls);
|
g_free(gls);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue