Re: [Mesa-dev] [PATCH 3/3] mesa: fix glPrimitiveRestartNV crash inside a render list.

2017-07-06 Thread Brian Paul
Thanks for the patches, Olivier! I'm a bit short on time, but I'll test/commit them ASAP. I'll take a closer look at the VBO issue too. -Brian On 07/06/2017 09:45 AM, Olivier Lauffenburger wrote: glPrimitiveRestartNV crashes when it is called during the compilation of a render list. There

[Mesa-dev] [PATCH 3/3] mesa: fix glPrimitiveRestartNV crash inside a render list.

2017-07-06 Thread Olivier Lauffenburger
glPrimitiveRestartNV crashes when it is called during the compilation of a render list. There are two reasons: - ctx->Driver.CurrentSavePrimitive is not set to the current primitive - save_PrimitiveRestartNV() calls _save_Begin() which only sets an OpenGL error, instead of calling vbo_save_Notif