sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 86b08e3257a4e3e204740f6252c5b1180ead8467
parent e49a98fcb3613d0505ce731ed6dc99b9f2c6fc8a
Author: Simon Ser <contact@emersion.fr>
Date:   Sun, 11 Apr 2021 12:15:51 +0200

desktop/render: remove unused wlr_gles2_texture_attribs

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

Diffstat:
Msway/desktop/render.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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,