summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-03 16:47:02 -0800
committerEric Anholt <eric@anholt.net>2010-03-09 09:52:49 -0800
commit98b984fb14374e8a87371153e1f4c5a7b6ed2bd2 (patch)
tree9e90231b875bb73b42fd465a3704e73248160a2e
parent3ff22d685dfacfb517058773ec5584ba8d47c8d5 (diff)
fbo-generatemipmap: Only complain once per mipmap level.
-rw-r--r--tests/fbo/fbo-generatemipmap.c6
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);
}
}