diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-09 10:33:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-09 10:33:02 -0400 |
commit | 7a25d6c50b8cccff3d10fe932ca36e46be62b0a9 (patch) | |
tree | 392ca06a487404ed34d6dec7ce7f8678288934e7 /render | |
parent | 2b909e1729a5913098dcb67c46404a9ab93221e2 (diff) |
Destroy gles3 wlr_surfaces
Diffstat (limited to 'render')
-rw-r--r-- | render/gles3/surface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/gles3/surface.c b/render/gles3/surface.c index c1fef48e..0ddf3ae0 100644 --- a/render/gles3/surface.c +++ b/render/gles3/surface.c @@ -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 = { |