Dave Airlie <[email protected]> writes:

> +void
> +AttachOutputGPU(ScreenPtr pScreen, ScreenPtr new)
> +{
> +    assert(new->isGPU);
> +    xorg_list_add(&new->output_head, &pScreen->output_slave_list);
> +    new->current_master = pScreen;
> +}

I'd love an assert that new isn't already on a list somehow?

-- 
[email protected]

Attachment: pgpcYXaPok4OI.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to