Do not call errx() on platforms without it

Like, say, Windows.
macos/v1.5.9
Emmanuele Bassi 8 years ago
parent bac9400bb0
commit 5df022edb5
  1. 2
      src/dispatch_common.c

@ -664,8 +664,8 @@ epoxy_get_proc_address(const char *name)
#elif PLATFORM_HAS_GLX
if (epoxy_current_context_is_glx())
return glXGetProcAddressARB((const GLubyte *)name);
#endif
errx(1, "Couldn't find current GLX or EGL context.\n");
#endif
return NULL;
}

Loading…
Cancel
Save