[Piglit] [PATCH 8/8] util/waffle: reinitialize extensions
Kenney Phillis
kphillisjr at gmail.com
Mon Sep 30 20:11:08 PDT 2013
Implements reinitialization on waffle based contexts to allow context
fallbacks to work as intended.
v2: applied the changes that Chad suggested.
---
.../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