Skip to content
Commit 4795c069 authored by Adam Jackson's avatar Adam Jackson
Browse files

glamor/egl: Avoid crashing on broken configurations



0a9415cf apparently can tickle bugs in the GL stack where glGetString
returns NULL, presumably because the eglMakeCurrent() didn't manage to
actually install a dispatch table and you're hitting a stub function.
That's clearly not our bug, but if it happens we should at least not
crash. Notice this case and fail gently.

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
(cherry picked from commit af151895)
parent 1e3c5d61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment