Commit be8eaddd authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

wflinfo: use glGetStringi() only when available

In some corner cases, we may end up attempting to get the extension list
via the new API, even though we're yet to get function pointer.

Fetching symbols is fun, as can be seen in the beefy comment above the
glGetStringi retrieval.

With this in place, we no longer crash with the following:

  wflinfo --platform glx --api gl --profile compat --version 3.1
Reported-by: Ben Crocker's avatarBen Crocker <>
Signed-off-by: Emil Velikov's avatarEmil Velikov <>
parent 2485a41c
Pipeline #258114 failed with stages
in 1 minute and 17 seconds