[Piglit] [PATCH] ext_framebuffer_multisample/samples: check all samples values
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Mar 11 08:40:30 PDT 2015
Actually check all samples values, and not just the maximum.
---
tests/spec/ext_framebuffer_multisample/samples.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/ext_framebuffer_multisample/samples.c b/tests/spec/ext_framebuffer_multisample/samples.c
index 1833e14..337ce19 100644
--- a/tests/spec/ext_framebuffer_multisample/samples.c
+++ b/tests/spec/ext_framebuffer_multisample/samples.c
@@ -79,7 +79,7 @@ piglit_init(int argc, char **argv)
glGenRenderbuffersEXT(1, &rb);
glBindRenderbufferEXT(GL_RENDERBUFFER, rb);
glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER,
- max_samples,
+ i,
GL_RGBA, 1, 1);
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER,
--
2.1.0
More information about the Piglit
mailing list