diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-11 12:15:51 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-11 12:15:51 +0200 |
commit | 86b08e3257a4e3e204740f6252c5b1180ead8467 (patch) | |
tree | 1384cb1dda7dbf27937da6046d14849f72c3bb31 | |
parent | e49a98fcb3613d0505ce731ed6dc99b9f2c6fc8a (diff) |
desktop/render: remove unused wlr_gles2_texture_attribs
We were calling wlr_gles2_texture_get_attribs, but we were never
using the result.
-rw-r--r-- | sway/desktop/render.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 46622224..56936d53 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -105,9 +105,6 @@ static void render_texture(struct wlr_output *wlr_output, wlr_backend_get_renderer(wlr_output->backend); struct sway_output *output = wlr_output->data; - struct wlr_gles2_texture_attribs attribs; - wlr_gles2_texture_get_attribs(texture, &attribs); - pixman_region32_t damage; pixman_region32_init(&damage); pixman_region32_union_rect(&damage, &damage, dst_box->x, dst_box->y, |