opengl/egldisplay: work around libepoxy failing when GPU resets happen

libepoxy calls glGetString(GL_VERSION) when resolving OpenGL functions, which returns nullptr after a GPU reset. When that happens, it assumes the OpenGL version is zero, and aborts because nothing is supported with OpenGL version zero.

To avoid these random crashes, just set our own handler for when resolving functions fails. It prints about the failure, so we still find out if anything actually misbehaves, but doesn't abort on GPU resets.

BUG: 500114 BUG: 519263

Edited by Xaver Hugl

Merge request reports

Loading