Fox some X server not supporting any OpenGL feature, glXQueryExtensionsString

will return NULL and causes the function to fail. Thanx to Emmanuel Stapf (manus@eiffel.com) for the original patch.

This was verified running an application on macOS while the X server was running
on Windows Xming 7.5.0.10
macos/v1.5.9
Yaron Cohen-Tal 8 years ago
parent c342cba2a1
commit b8d609e8f9
  1. 2
      src/dispatch_common.c

@ -359,6 +359,8 @@ epoxy_conservative_gl_version(void)
bool
epoxy_extension_in_string(const char *extension_list, const char *ext)
{
if (!extension_list)
return false;
const char *ptr = extension_list;
size_t len = strlen(ext);

Loading…
Cancel
Save