From: Michel Dänzer <[email protected]> Fixes a crash with multiple OpenCL devices available, due to re-using the stale gl_extensions array from a previous EGL context.
Signed-off-by: Michel Dänzer <[email protected]> --- tests/cl/interop/egl_khr_cl_event2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cl/interop/egl_khr_cl_event2.c b/tests/cl/interop/egl_khr_cl_event2.c index 2039d36..ce5e891 100644 --- a/tests/cl/interop/egl_khr_cl_event2.c +++ b/tests/cl/interop/egl_khr_cl_event2.c @@ -225,6 +225,7 @@ test_cleanup(EGLSyncKHR sync, enum piglit_result *inout_result) piglit_loge("failed to terminate EGLDisplay"); *inout_result = PIGLIT_FAIL; } + piglit_gl_reinitialize_extensions(); } g_dpy = EGL_NO_DISPLAY; -- 2.8.1 _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
