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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to