summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-02-07 12:29:12 -0500
committerAdam Jackson <ajax@redhat.com>2018-02-07 12:29:12 -0500
commit237a491b01c3ed37346f429b69cdf19982e35873 (patch)
tree2b06967ce8b5e0ac016da96561a85aff8830a9a8 /test
parent3f1699b6822b429400563692efc3dbd55d765b38 (diff)
downloadlibepoxy-237a491b01c3ed37346f429b69cdf19982e35873.tar.gz
test: Fix dlwrap for glvnd
Add libOpenGL to the list of libraries we'll intercept. This is harmless if glvnd is not available as the dlopen(libOpenGL.so) will fail, but without this we can't intercept glGetString, which the egl_and_glx_different_pointers_glx test needs to be able to do. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/dlwrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dlwrap.c b/test/dlwrap.c
index c5d447b..dd83c62 100644
--- a/test/dlwrap.c
+++ b/test/dlwrap.c
@@ -67,6 +67,7 @@ static struct libwrap {
{ "libGL.so", "GL", NULL },
{ "libEGL.so", "EGL", NULL },
{ "libGLESv2.so", "GLES2", NULL },
+ { "libOpenGL.so", "GL", NULL},
};
/* Match 'filename' against an internal list of libraries for which