mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Destroy gles3 wlr_surfaces
This commit is contained in:
parent
2b909e1729
commit
7a25d6c50b
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@ static void gles3_surface_bind(struct wlr_surface_state *surface) {
|
|||
}
|
||||
|
||||
static void gles3_surface_destroy(struct wlr_surface_state *surface) {
|
||||
// TODO
|
||||
GL_CALL(glDeleteTextures(1, &surface->tex_id));
|
||||
free(surface);
|
||||
}
|
||||
|
||||
static struct wlr_surface_impl wlr_surface_impl = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue