summaryrefslogtreecommitdiff
path: root/test/glx_public_api.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-04 19:07:36 -0800
committerEric Anholt <eric@anholt.net>2013-12-04 19:22:13 -0800
commitde70a2a0abfade6fa3fb4876f4c90e3715e9b70f (patch)
treeb6803aed6c8327485930dcee7b0228101adf1483 /test/glx_public_api.c
parent7603c144db3a5f880f6ce56ccf9eca6c27dc4d70 (diff)
downloadlibepoxy-de70a2a0abfade6fa3fb4876f4c90e3715e9b70f.tar.gz
Fix a similar bug to HEAD~2, this time in epoxy_has_glx_extension().
Diffstat (limited to 'test/glx_public_api.c')
-rw-r--r--test/glx_public_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/glx_public_api.c b/test/glx_public_api.c
index e89a4a4..e38d260 100644
--- a/test/glx_public_api.c
+++ b/test/glx_public_api.c
@@ -91,14 +91,14 @@ test_glx_version(void)
static bool
test_glx_extension_supported(void)
{
- if (!epoxy_has_glx_extension("GLX_ARB_get_proc_address")) {
+ if (!epoxy_has_glx_extension(dpy, 0, "GLX_ARB_get_proc_address")) {
fprintf(stderr,
"Incorrectly reported no support for GLX_ARB_get_proc_address "
"(should always be present in Linux ABI)\n");
return false;
}
- if (epoxy_has_glx_extension("GLX_EXT_ham_sandwich")) {
+ if (epoxy_has_glx_extension(dpy, 0, "GLX_EXT_ham_sandwich")) {
fprintf(stderr,
"Incorrectly reported support for GLX_EXT_ham_sandwich\n");
return false;