[Piglit] [PATCH] util: s/3/num_components/ in probe_rect_ubyte()
Fabian Bieler
fabianbieler at fastmail.fm
Wed Jan 24 23:15:01 UTC 2018
Oopps. Nice catch, thanks.
Reviewed-by: Fabian Bieler <fabianbieler at fastmail.fm>
On 2018-01-24 16:21, Brian Paul wrote:
> ---
> tests/util/piglit-util-gl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
> index e9c2038..df39c1c 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);
>
More information about the Piglit
mailing list