mirror of https://github.com/yshui/picom.git
backend: gl: do not leak back and default mask textures
they're generated during backend initialization and now deleted during deinitialization
This commit is contained in:
parent
5826adf853
commit
8245de27ed
|
@ -976,6 +976,9 @@ void gl_deinit(struct gl_data *gd) {
|
|||
gd->default_shader = NULL;
|
||||
}
|
||||
|
||||
glDeleteTextures(1, &gd->default_mask_texture);
|
||||
glDeleteTextures(1, &gd->back_texture);
|
||||
|
||||
gl_check_err();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue