[Mesa-dev] [PATCH] dri3: Check for dummyContext to see if the glx_context is valid

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 27 12:12:57 UTC 2016


On 25 April 2016 at 14:06, Stefan Dirsch <sndirsch at suse.de> wrote:
> According to the comments in src/glx/glxcurrent.c __glXGetCurrentContext()
> always returns a valid pointer. If no context is made current, it will
> contain dummyContext. Thus a test for NULL will always fail.
>
> https://lists.freedesktop.org/archives/mesa-dev/2016-April/113962.html
>
> Signed-off-by: Stefan Dirsch <sndirsch at suse.de>
> Reviewed-by: Egbert Eich <eich at freedesktop.org>

Thanks for the patches Stefan.

Both this and the dri2 one are in master... just to realise that I
should have tagged them for stable (/me does that on the side).

Barring the libva patch, can you skim through the list and let us know
which ones are outstanding ?

https://patchwork.freedesktop.org/project/mesa/patches/?submitter=12700&state=&q=&archive=&delegate=

Regards,
Emil

P.S. Don't bother resending, only to add someone's r-b/ack/... tag.
Patchwork does this for us ;-)


More information about the mesa-dev mailing list