Closed thehans closed 3 years ago
Uh oh, I was quite sure I did the check on most places, such as https://github.com/mosra/magnum/blob/b79bc1821902e9fd91700f0edc517b090809e19c/src/Magnum/Platform/Sdl2Application.cpp#L561
but missed this one. Fixing, thanks!
Should be fixed with d09e91cac8469387feb3dc0aea515d2ad1213f84, the StringView class handles construction from a null pointer gracefully.
Since I don't have any easy way to reproduce this, would be great if you could confirm it indeed fixes the problem. Thank you! :)
In the event that eglQueryString fails, the program crashes due to
strcmp
onNULL
The exception occurs here: https://github.com/mosra/magnum/blob/b79bc1821902e9fd91700f0edc517b090809e19c/src/MagnumExternal/OpenGL/GL/flextGLPlatform.cpp#L52