summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2018-01-23 16:06:01 -0700
committerBrian Paul <brianp@vmware.com>2018-02-02 08:09:57 -0700
commit703422f17c5c308bf4f64e255e15271ce4d7cb06 (patch)
tree96fc656632af74a5c020ea64f733793f5d652939 /tests
parent86e9ebaaf8eeb35161650ded11c1c51bf75973d9 (diff)
util: s/3/num_components/ in probe_rect_ubyte()
Reviewed-by: Fabian Bieler <fabianbieler@fastmail.fm>
Diffstat (limited to 'tests')
-rw-r--r--tests/util/piglit-util-gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
index e9c20385e..df39c1c87 100644
--- a/tests/util/piglit-util-gl.c
+++ b/tests/util/piglit-util-gl.c
@@ -1249,7 +1249,7 @@ probe_rect_ubyte(int x, int y, int w, int h, int num_components,
if (!silent) {
print_bad_pixel_ubyte(
- x + i, y + j, 3,
+ x + i, y + j, num_components,
expected, probe);
}
free(pixels);