summaryrefslogtreecommitdiff
path: root/src/dispatch_common.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-04 18:45:52 -0800
committerEric Anholt <eric@anholt.net>2013-12-04 19:18:31 -0800
commit0f67bf3f1192fb0bbd0b868eeb73a18f76951b01 (patch)
tree8ae10824b0fcd93f0fb6fc4d38372b932cda5425 /src/dispatch_common.h
parent14f822ee91adc1531b7689d2f6083cdb1476154d (diff)
downloadlibepoxy-0f67bf3f1192fb0bbd0b868eeb73a18f76951b01.tar.gz
Fix bug in public entrypoint for epoxy_glx_version()
Unfortunately, for GLX 1.4+ entrypoints (just glxGetProcAddress currently) or extensions, if there isn't a context bound then we don't have a dpy and screen available to provide useful debug messages. Oh well.
Diffstat (limited to 'src/dispatch_common.h')
-rw-r--r--src/dispatch_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index cf90248..ed3fa5b 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -49,6 +49,7 @@ struct api {
bool epoxy_is_glx(void);
void *epoxy_get_proc_address(const char *name);
+int epoxy_conservative_glx_version(void);
void *epoxy_dlsym(const char *name);
void epoxy_glx_autoinit(void);
void epoxy_platform_autoinit(void);