Re: [Mesa-dev] [PATCH] st/mesa: handle failed context creation for core profile

2014-09-10 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Sep 9, 2014 at 6:03 PM, Brian Paul wrote: > If the glx/wgl state tracker requested a core profile but the gallium > driver did not support some feature of GL 3.1 or later, we were setting > ctx->Version=0 and then failing the assertion in > _mesa_initializ

[Mesa-dev] [PATCH] st/mesa: handle failed context creation for core profile

2014-09-09 Thread Brian Paul
If the glx/wgl state tracker requested a core profile but the gallium driver did not support some feature of GL 3.1 or later, we were setting ctx->Version=0 and then failing the assertion in _mesa_initialize_exec_table(). With this change we check for ctx->Version=0 and tear down the context and r