[Piglit] [PATCH] getteximage-formats: compressed variable is not initialized in the special case

Brian Paul brianp at vmware.com
Fri Jan 20 07:37:33 PST 2012


On 01/19/2012 02:24 PM, Morgan Armand wrote:
> ---
>   tests/texturing/getteximage-formats.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/tests/texturing/getteximage-formats.c b/tests/texturing/getteximage-formats.c
> index 1488a9d..a69dbe6 100644
> --- a/tests/texturing/getteximage-formats.c
> +++ b/tests/texturing/getteximage-formats.c
> @@ -176,6 +176,7 @@ compute_expected_color(const struct format_desc *fmt,
>   		texel[1] = ubyte_to_float(upperRightTexel[1], bits[1]);
>   		texel[2] = ubyte_to_float(upperRightTexel[2], bits[2]);
>   		texel[3] = 1.0;
> +		compressed = GL_FALSE;
>   	}
>   	else {
>   		GLint r, g, b, a, l, i;

Thanks.  I'll push this fix.

-Brian


More information about the Piglit mailing list