"Jacob (=Jouk) Jansen" wrote:
> 
> Hi
> 
> Brian wrote:
> >Yesterday I checked in a few changes to xmesaP.h, xmesa1.c and xmesa2.c
> >which fixed some problems with 24bpp rendering and buffer clearing.
> >
> >Can you get a more detailed stack trace?  Setting the MESA_XSYNC env var
> >first will force Xlib to operate synchronously and should make it easier
> >to locate the problem.
> 
> I may have located the problem in xmesa2.c:
> 
>     if (xmesa->xm_buffer->buffer != XIMAGE) {
                            ^^^^^^
                            backpixmap


>       /* back buffer is a pixmap */
>       xmesa->xm_buffer->back_clear_func = clear_back_pixmap;
>    }
> 
> If I leave this part out it works fine. Probaly the condition
>     xmesa->xm_buffer->buffer != XIMAGE
>  is fullfilled while it should not use the clear_back_pixmap function!!!


Try the change I show above.

-Brian


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to