Re: [Mesa3d-dev] [PATCH] Set GL context to null in __glXSetCurrentContextNull

2010-01-19 Thread Brian Paul
Luca Barbieri wrote: > __glXSetCurrentContextNull currently does not set the GL context to null > in the direct rendering case. > > This can result in a segfault trying to flush an invalid old context > in glXMakeCurrent. > > This fixes a crash starting the Unigine demos (they still don't work du

[Mesa3d-dev] [PATCH] Set GL context to null in __glXSetCurrentContextNull

2010-01-16 Thread Luca Barbieri
__glXSetCurrentContextNull currently does not set the GL context to null in the direct rendering case. This can result in a segfault trying to flush an invalid old context in glXMakeCurrent. This fixes a crash starting the Unigine demos (they still don't work due to missing extensions though). --