Skip to content

wflinfo: use glGetStringi() only when available

Emil Velikov requested to merge xexaxo/waffle:ben-getstringi into master

Here are two different patches either one fixing a crash with the following:

export LIBGL_ALWAYS_SOFTWARE=1
wflinfo --platform glx --api gl --profile compat --version 3.1

The latter patch is a cool idea, especially since it addresses the problem on most platforms. Namely glx, cgl and in some EGL cases. I'm inclined to merge it as well, barring any objections.

/cc @bcrocker

Ben any preference on the latter patch?

Merge request reports