diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-04 18:45:52 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-04 19:18:31 -0800 |
commit | 0f67bf3f1192fb0bbd0b868eeb73a18f76951b01 (patch) | |
tree | 8ae10824b0fcd93f0fb6fc4d38372b932cda5425 /test/glx_public_api.c | |
parent | 14f822ee91adc1531b7689d2f6083cdb1476154d (diff) | |
download | libepoxy-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 'test/glx_public_api.c')
-rw-r--r-- | test/glx_public_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/glx_public_api.c b/test/glx_public_api.c index 1eab7bf..e89a4a4 100644 --- a/test/glx_public_api.c +++ b/test/glx_public_api.c @@ -48,7 +48,7 @@ test_gl_version(void) static bool test_glx_version(void) { - int version = epoxy_glx_version(); + int version = epoxy_glx_version(dpy, 0); const char *version_string; int ret; int server_major, server_minor; |