glx: Be more robust against null fbconfigs
authorAdam Jackson <ajax@redhat.com>
Mon, 12 Apr 2021 15:33:17 +0000 (11:33 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 22:58:58 +0000 (22:58 +0000)
commitb8236bcb7444157c0acbf9b775856be7075e97e1
treeeb18c7eb205fae7f9a9902de0099b9f4553ad852
parenta2b474c333f39ce00ba1b020d1721404c44b9a86
glx: Be more robust against null fbconfigs

These can happen along the internal paths for no-config contexts, and we
shouldn't crash.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9992>
src/glx/glx_pbuffer.c
src/glx/glxcmds.c