diff options
author | Eric Anholt <eric@anholt.net> | 2010-03-03 16:47:02 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-03-09 09:52:49 -0800 |
commit | 98b984fb14374e8a87371153e1f4c5a7b6ed2bd2 (patch) | |
tree | 9e90231b875bb73b42fd465a3704e73248160a2e | |
parent | 3ff22d685dfacfb517058773ec5584ba8d47c8d5 (diff) |
fbo-generatemipmap: Only complain once per mipmap level.
-rw-r--r-- | tests/fbo/fbo-generatemipmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fbo/fbo-generatemipmap.c b/tests/fbo/fbo-generatemipmap.c index a8024399..6b9b8a7c 100644 --- a/tests/fbo/fbo-generatemipmap.c +++ b/tests/fbo/fbo-generatemipmap.c @@ -131,9 +131,9 @@ test_mipmap_drawing(int start_x, int start_y, int dim) else expected = white; - pass &= piglit_probe_pixel_rgb(start_x + x, - start_y + y, - expected); + pass = pass && piglit_probe_pixel_rgb(start_x + x, + start_y + y, + expected); } } |