[Piglit] [PATCH] egl-util: Add call to piglit_dispatch_default_init()

Matt Turner mattst88 at gmail.com
Mon Aug 27 18:35:58 PDT 2012


Fixes egl-nok-swap-region and makes egl-nok-texture-from-pixmap not
crash (but still fails).
---
 tests/egl/egl-util.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/egl/egl-util.c b/tests/egl/egl-util.c
index 440e720..20cd699 100644
--- a/tests/egl/egl-util.c
+++ b/tests/egl/egl-util.c
@@ -222,6 +222,8 @@ egl_util_run(const struct egl_test *test, int argc, char *argv[])
 		piglit_report_result(PIGLIT_FAIL);
 	}
 
+	piglit_dispatch_default_init();
+
 	result = event_loop(&state, test);
 
 	eglTerminate(state.egl_dpy);
-- 
1.7.8.6



More information about the Piglit mailing list