Re: [Mesa-dev] [PATCH 3/5] glx: add missing null check in SendMakeCurrentRequest

2014-02-17 Thread Ian Romanick
NAK. At this point, priv cannot be NULL. All of the paths that lead here have already called __glXSetupForCommand. In that function, there is either already a context, or it calls __glXInitialize to create the dpy private structure. If there is already a context, dpy must exist in the table __g

[Mesa-dev] [PATCH 3/5] glx: add missing null check in SendMakeCurrentRequest

2014-02-14 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/glx/indirect_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/indirect_glx.c b/src/glx/indirect_glx.c index 28b8cd0..306bf5b 100644 --- a/src/glx/indirect_glx.c +++ b/src/glx/indirect_glx.c @@ -84,7 +84,7 @@ SendMakeCurre