mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04: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) {
|
||||
return;
|
||||
}
|
||||
glDeleteProgram(gls->texture_blit_prog);
|
||||
glDeleteProgram(gls->texture_blit_flip_prog);
|
||||
glDeleteProgram(gls->texture_blit_vao);
|
||||
g_free(gls);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue