[Mesa-dev] [PATCH 1/2] gallium/targets: Clean up Haiku softpipe renderer visual
Alexander von Gluck IV
kallisti5 at unixzen.com
Thu Aug 21 13:06:32 PDT 2014
On , Alexander von Gluck IV wrote:
> * Drop creating gl_config first as it's only really used
> to create the state tracker visual.
> ---
> .../targets/haiku-softpipe/GalliumContext.cpp | 196
> ++++++++++----------
> .../targets/haiku-softpipe/GalliumContext.h | 2 +
> 2 files changed, 96 insertions(+), 102 deletions(-)
>
> if (!context->draw || !context->read) {
> ERROR("%s: Problem allocating framebuffer!\n", __func__);
> - _mesa_destroy_visual(glVisual);
> + //FREE(context->stVisual);
> return -1;
> }
>
Whoops, without commenting out the FREE. I was debugging a crash.
-- Alex
More information about the mesa-dev
mailing list