compositor-drm: Always disable sprites for now

Until the nuclear pageflip work lands in KMS, we can't use sprites
reliably.
Kristian Høgsberg 12 years ago
parent 7109cc8b06
commit de37d67ac5
  1. 4
      src/compositor-drm.c

@ -2252,6 +2252,10 @@ drm_compositor_create(struct wl_display *display,
return NULL; return NULL;
memset(ec, 0, sizeof *ec); memset(ec, 0, sizeof *ec);
/* KMS support for sprites is not complete yet, so disable the
* functionality for now. */
ec->sprites_are_broken = 1;
if (weston_compositor_init(&ec->base, display, argc, argv, if (weston_compositor_init(&ec->base, display, argc, argv,
config_file) < 0) { config_file) < 0) {
weston_log("weston_compositor_init failed\n"); weston_log("weston_compositor_init failed\n");

Loading…
Cancel
Save