mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +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 86b08e3257
)
This commit is contained in:
parent
3b1effdfa5
commit
6cad038eea
1 changed files with 0 additions and 3 deletions
|
@ -105,9 +105,6 @@ static void render_texture(struct wlr_output *wlr_output,
|
||||||
wlr_backend_get_renderer(wlr_output->backend);
|
wlr_backend_get_renderer(wlr_output->backend);
|
||||||
struct sway_output *output = wlr_output->data;
|
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_t damage;
|
||||||
pixman_region32_init(&damage);
|
pixman_region32_init(&damage);
|
||||||
pixman_region32_union_rect(&damage, &damage, dst_box->x, dst_box->y,
|
pixman_region32_union_rect(&damage, &damage, dst_box->x, dst_box->y,
|
||||||
|
|
Loading…
Reference in a new issue