diff options
Diffstat (limited to 'ui/shader.c')
-rw-r--r-- | ui/shader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/shader.c b/ui/shader.c index 4c80fc831f..ab448c41d4 100644 --- a/ui/shader.c +++ b/ui/shader.c @@ -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); } |