ext_framebuffer_multisample/samples: check all samples values

Submitted by Marc-André Lureau on March 11, 2015, 3:40 p.m.

Details

Message ID 1426088430-31695-1-git-send-email-marcandre.lureau@gmail.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Marc-André Lureau March 11, 2015, 3:40 p.m.
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(-)

Patch hide | download patch | download mbox

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,