From 5df022edb53748901490ee78929a089ae839a1da Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 19 Jan 2017 17:58:59 +0000 Subject: [PATCH] Do not call errx() on platforms without it Like, say, Windows. --- src/dispatch_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 30e69ca..ab1fb92 100644 --- a/src/dispatch_common.c +++ b/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; }