glx: Add null pointer protection to __glGetProcAddress
authorAdam Jackson <ajax@redhat.com>
Fri, 13 Dec 2013 20:07:48 +0000 (15:07 -0500)
committerAdam Jackson <ajax@redhat.com>
Fri, 13 Dec 2013 20:07:48 +0000 (15:07 -0500)
commit8248b4af31ef71ac03158871b77f20eb456dbe38
tree01b41945b40ca545558f1d640e5772b588e228a4
parent128449dd6498a2f74c3770f89a9dae0f70e2b351
glx: Add null pointer protection to __glGetProcAddress

This can't happen when GLX is the backing window system, but can
elsewhere.  We may as well protect against it at a high level.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
glx/glxext.c