Skip to content

Commit

Permalink
backend: gl: fix leak in gl_deinit
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelynothelix committed Jan 24, 2023
1 parent 364463f commit 8ef2d7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/gl/gl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,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();
}

Expand Down

0 comments on commit 8ef2d7e

Please sign in to comment.