There is some situations where glGetString calls, like glGetString(GL_EXTENSIONS);, return a NULL pointer. As this string is parsed to find supported extensions, this bring to a crash:
Video: Using OpenGL: (null) - (null) : (null)
Segmentation fault
Those situations are rare (in my case it's when I link Rice to libGLESv2.so without any hardware support. But should be handled smoothly with an error message.
There is some situations where
glGetString
calls, likeglGetString(GL_EXTENSIONS);
, return aNULL
pointer. As this string is parsed to find supported extensions, this bring to a crash:Those situations are rare (in my case it's when I link Rice to libGLESv2.so without any hardware support. But should be handled smoothly with an error message.