diff options
author | Eric Anholt <eric@anholt.net> | 2014-03-17 09:48:33 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-17 11:02:41 -0700 |
commit | 53b87c33e4f547a147fe8931b2494b84bad82406 (patch) | |
tree | dfc5519af6d10953a0e95e1a110bca536862c942 /test | |
parent | f15c169cad38964892ea1067208bd84e34382005 (diff) | |
download | libepoxy-53b87c33e4f547a147fe8931b2494b84bad82406.tar.gz |
Catch eglBindAPI() failures in looking up bootstrap functions.
This fixes crashes on ARM's Mali drivers, where desktop GL isn't
supported, and epoxy didn't notice the error and tried to dlsym() on
libGL.so.1.
An alternative would have been to look at the response from
eglQueryAPI() first, but that would have meant that we still need to
BindAPI in the case that eglQueryAPI returns something like VG or CL,
and so we needed to handle these errors regardless.
Fixes #22
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 6c50974..dac8cab 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -60,8 +60,6 @@ TESTS = \ $() XFAIL_TESTS = \ - egl_gles1_without_glx \ - egl_gles2_without_glx \ $() check_PROGRAMS = $(TESTS) |