Re: [Mesa-dev] [PATCH] osmesa: Unbind the current context when given a null context and buffer.

2016-09-23 Thread Brian Paul
On 09/22/2016 06:24 PM, Emilio Cobos Álvarez wrote: This is needed to be consistent with other drivers. I used both the context and the buffer as a condition in order to ensure it's an intentional unbind, and not a programming error, but let me know if you think I should change it to check only

[Mesa-dev] [PATCH] osmesa: Unbind the current context when given a null context and buffer.

2016-09-22 Thread Emilio Cobos Álvarez
This is needed to be consistent with other drivers. I used both the context and the buffer as a condition in order to ensure it's an intentional unbind, and not a programming error, but let me know if you think I should change it to check only the context. Also, this is my very first mesa patch,