backend-drm: Remove unused variable

Its last usage was removed in 31838bf17e.
dev
Emmanuel Gil Peyrot 5 years ago committed by Daniel Stone
parent f0cd00a855
commit b2f54d9f17
  1. 1
      libweston/backend-drm/drm-internal.h
  2. 3
      libweston/backend-drm/drm.c

@ -262,7 +262,6 @@ struct drm_backend {
struct wl_list plane_list; struct wl_list plane_list;
int sprites_are_broken; int sprites_are_broken;
int sprites_hidden;
void *repaint_data; void *repaint_data;

@ -2669,9 +2669,6 @@ planes_binding(struct weston_keyboard *keyboard, const struct timespec *time,
if (b->atomic_modeset) if (b->atomic_modeset)
b->sprites_are_broken ^= 1; b->sprites_are_broken ^= 1;
break; break;
case KEY_O:
b->sprites_hidden ^= 1;
break;
default: default:
break; break;
} }

Loading…
Cancel
Save