Currently Invalid formats is reported from the formats data structure. This is incorrect because the invalid formats set should not use this system. --- 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], -- 1.7.9.5 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit