compositor-drm: Always disable sprites for now

Until the nuclear pageflip work lands in KMS, we can't use sprites
reliably.
This commit is contained in:
Kristian Høgsberg 2012-11-02 10:14:40 -04:00
parent 7109cc8b06
commit de37d67ac5
1 changed files with 4 additions and 0 deletions

View File

@ -2252,6 +2252,10 @@ drm_compositor_create(struct wl_display *display,
return NULL;
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,
config_file) < 0) {
weston_log("weston_compositor_init failed\n");