[Mesa-dev] [PATCH] dri2: Check for dummyContext to see if the glx_context is valid
Michel Dänzer
michel at daenzer.net
Thu Apr 21 07:22:26 UTC 2016
On 20.04.2016 19:38, Stefan Dirsch 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.
>
> Patch author: Egbert Eich <eich at suse.com>
Please set the Git author field itself to Egbert Eich <eich at suse.com> then.
With that fixed,
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Do you need somebody to push this patch for you?
P.S. Looks like at least glx_dri3_get_dri_context may need the same
treatment?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list