From 237a491b01c3ed37346f429b69cdf19982e35873 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 7 Feb 2018 12:29:12 -0500 Subject: [PATCH] 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 --- test/dlwrap.c | 1 + 1 file changed, 1 insertion(+) 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