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

2016-04-21 Thread Stefan Dirsch
From: Egbert Eich 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://bugzilla.opensuse.org/show_bug.cgi?id=962609 Tested-by: Olaf H

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

2016-04-21 Thread Stefan Dirsch
On Thu, Apr 21, 2016 at 04:22:26PM +0900, Michel Dänzer wrote: > 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

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

2016-04-21 Thread Stefan Dirsch
From: Egbert Eich 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://bugzilla.opensuse.org/show_bug.cgi?id=962609 Signed-off-by: Eg

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

2016-04-21 Thread Michel Dänzer
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 Please set

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

2016-04-20 Thread Stefan Dirsch
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 https://bugzilla.opensuse.org/show_bug.cgi?id=962609 Signed-of

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

2016-04-19 Thread Stefan Dirsch
Dear gentlemen, please forgive me. It's some time ago I tried to upstream patches. I'm afraid it's not the right prcoess I'm using here. :-( Attached you find a patch. It has been a fix for https://bugzilla.opensuse.org/show_bug.cgi?id=962609 CU, Stefan Public Key available -