[Piglit] [PATCH 2/4] util/waffle: reinitialize extensions

Kenney Phillis kphillisjr at gmail.com
Tue Aug 20 13:12:13 PDT 2013


Implements reinitialization on waffle based contexts to allow context
fallbacks to work as intended.
---
 .../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