On Sat, 2008-02-16 at 22:37 +0000, Chris Rankin wrote:
> 
> The current mesa git is breaking for me and falling back to indirect 
> rendering. (I am using the
> r300 driver.) The following patch gets it working again for me:
> 
> diff --git a/src/mesa/drivers/dri/common/dri_util.c 
> b/src/mesa/drivers/dri/commo
> index 0175158..23befac 100644
> --- a/src/mesa/drivers/dri/common/dri_util.c
> +++ b/src/mesa/drivers/dri/common/dri_util.c
> @@ -765,7 +765,7 @@ static void driDestroyScreen(__DRIscreen *screen)
>  
>         if (psp->dri2.enabled) {
>             drmBOUnmap(psp->fd, &psp->dri2.sareaBO);
> -           drmBOUnreference(psp->fd, &psp->dri2.sareaBO);
> +           drmBOUnReference(psp->fd, &psp->dri2.sareaBO);

Looks like you have an outdated libdrm.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to