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

Chad Versace chad.versace at linux.intel.com
Tue Sep 3 11:17:13 PDT 2013


On 08/23/2013 11:51 AM, Kenney Phillis wrote:
> 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;
>   }

The patch looks good, but needs the function rename, of course.



More information about the Piglit mailing list