[Piglit] [PATCH v2 5/5] util/waffle: reinitialize extensions

Kenney Phillis kphillisjr at gmail.com
Fri Aug 23 09:51:05 PDT 2013


When context creation fails, Inform piglit to reinitialize the
list of supported extensions.
---
 .../piglit-framework-gl/piglit_wfl_framework.c     |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
index d8cb944..dcf40e5 100644
--- a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
+++ b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
@@ -385,6 +385,8 @@ fail:
 	wfl_fw->context = NULL;
 	wfl_fw->config = NULL;
 
+	piglit_reinitialize_extensions();
+
 	return false;
 }
 
-- 
1.7.9.5



More information about the Piglit mailing list