[Mesa-dev] [PATCH] glsl: avoid using gl context as a memory context

Dave Airlie airlied at gmail.com
Sat Dec 15 17:33:27 PST 2012


>
> Hmm... I wonder if this is related to bug #58039.
>
> I think we should have a flag-day patch that changes all the places where
> the memory context is called ctx to call it mem_ctx.  That might make future
> problems like this easier to notice in code review.
>

That glsl_parser_extras.cpp is also clearly using a GL context as a
mem context, though I'm not the best to say how to fix it.

Dave.


More information about the mesa-dev mailing list