glx/drisw: Fix glXMakeCurrent(dpy, None, ctx)
authorAdam Jackson <ajax@redhat.com>
Thu, 9 Nov 2017 21:57:30 +0000 (16:57 -0500)
committerAdam Jackson <ajax@redhat.com>
Mon, 13 Nov 2017 15:39:48 +0000 (10:39 -0500)
commit033cfb17db85b38bc012d74f30f6c92cddf85216
tree0fd3a4059f5be011e6733889ea7b0db8c56113dd
parentbc1bc6f512f1ab9fd34086a93fbbc591cd310e79
glx/drisw: Fix glXMakeCurrent(dpy, None, ctx)

This is perfectly legal in GL 3.0+.

Fixes piglit/glx-create-context-current-no-framebuffer.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/drisw_glx.c