1
1
mirror of https://github.com/swaywm/sway synced 2024-11-22 20:42:00 +01:00

desktop/render: remove unused wlr_gles2_texture_attribs

We were calling wlr_gles2_texture_get_attribs, but we were never
using the result.

(cherry picked from commit 86b08e3257a4e3e204740f6252c5b1180ead8467)
This commit is contained in:
Simon Ser 2021-04-11 12:15:51 +02:00
parent 3b1effdfa5
commit 6cad038eea

@ -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,