[Piglit] [PATCH 3/4] fbo-storage-formats: Fix reporting of invalid formats.
Ian Romanick
idr at freedesktop.org
Fri Aug 23 08:30:48 PDT 2013
On 08/20/2013 01:12 PM, Kenney Phillis wrote:
> Currently Invalid formats is reported from the formats data structure.
> This is incorrect because the invalid formats set should not use this
> system.
Oops. Looks like a copy-and-paste bug.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> tests/fbo/fbo-storage-formats.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-formats.c
> index 3b82517..bbe286c 100644
> --- a/tests/fbo/fbo-storage-formats.c
> +++ b/tests/fbo/fbo-storage-formats.c
> @@ -209,7 +209,7 @@ test(void)
>
> /* test formats that should fail */
> for (i = 0; i < ARRAY_SIZE(invalid_formats); i++) {
> - const char *name = piglit_get_gl_enum_name(formats[i].format);
> + const char *name = piglit_get_gl_enum_name(invalid_formats[i]);
>
> glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT,
> invalid_formats[i],
>
More information about the Piglit
mailing list