On Mon, Apr 23, 2007 at 08:30:04AM -0600, Brian Paul wrote:
> 
> Can you try this patch:
> 
> diff --git a/src/mesa/drivers/fbdev/glfbdev.c 
> b/src/mesa/drivers/fbdev/glfbdev.c
> index 0ece386..6fdcdd1 100644
> --- a/src/mesa/drivers/fbdev/glfbdev.c
> +++ b/src/mesa/drivers/fbdev/glfbdev.c
> @@ -682,9 +682,16 @@ glFBDevDestroyBuffer( GLFBDevBufferPtr buffer )
>        if (buffer == curDraw || buffer == curRead) {
>           glFBDevMakeCurrent( NULL, NULL, NULL);
>        }
> +#if 0
>        /* free the software depth, stencil, accum buffers */
>        _mesa_free_framebuffer_data(&buffer->glframebuffer);
>        _mesa_free(buffer);
> +#else
> +      {
> +         struct gl_framebuffer *fb = &buffer->glframebuffer;
> +         _mesa_unreference_framebuffer(&fb);
> +      }
> +#endif
>     }
>  }
> 
> 
> -Brian


The patch worked, the problem is fixed.
Sean

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to