[Piglit] [PATCH 3/3] util/waffle: reinitialize extensions

Kenney Phillis kphillisjr at gmail.com
Sat Sep 21 11:30:08 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..e81be90 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_gl_reinitialize_extensions();
+
 	return false;
 }
 
-- 
1.7.9.5



More information about the Piglit mailing list