aboutsummaryrefslogtreecommitdiff
path: root/render/pixman
diff options
context:
space:
mode:
Diffstat (limited to 'render/pixman')
-rw-r--r--render/pixman/renderer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/render/pixman/renderer.c b/render/pixman/renderer.c
index 13db0880..2853b704 100644
--- a/render/pixman/renderer.c
+++ b/render/pixman/renderer.c
@@ -46,11 +46,6 @@ static struct wlr_pixman_texture *get_texture(
return (struct wlr_pixman_texture *)wlr_texture;
}
-static bool texture_is_opaque(struct wlr_texture *wlr_texture) {
- struct wlr_pixman_texture *texture = get_texture(wlr_texture);
- return !texture->format_info->has_alpha;
-}
-
static void texture_destroy(struct wlr_texture *wlr_texture) {
struct wlr_pixman_texture *texture = get_texture(wlr_texture);
wl_list_remove(&texture->link);
@@ -61,7 +56,6 @@ static void texture_destroy(struct wlr_texture *wlr_texture) {
}
static const struct wlr_texture_impl texture_impl = {
- .is_opaque = texture_is_opaque,
.destroy = texture_destroy,
};