Chris Wilson <ch...@chris-wilson.co.uk> writes:

> Some paranoid defense to more easily catch should not happen conditions
> from within gdb.

Makes sense to me. (But please also copy pix...@lists.freedesktop.org
on pixman patches).


Thanks,
Soren

> Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
> ---
>  pixman/pixman-access.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c
> index fa0a267..da5af81 100644
> --- a/pixman/pixman-access.c
> +++ b/pixman/pixman-access.c
> @@ -2876,6 +2876,13 @@ setup_accessors (bits_image_t *image)
>       
>       info++;
>      }
> +
> +    image->fetch_scanline_raw_32 = (fetch_scanline_t) abort;
> +    image->fetch_scanline_raw_64 = (fetch_scanline_t) abort;
> +    image->fetch_pixel_raw_32 = (fetch_pixel_32_t) abort;
> +    image->fetch_pixel_raw_64 = (fetch_pixel_64_t) abort;
> +    image->store_scanline_raw_32 = (store_scanline_t) abort;
> +    image->store_scanline_raw_64 = (store_scanline_t) abort;
>  }
>  
>  #ifndef PIXMAN_FB_ACCESSORS
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to