From: Marek Olšák Date: Wed, 20 Jun 2018 18:55:24 +0000 (-0400) Subject: mesa: fix glGetInteger64v for arrays of integers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2790b134a912b84389022b96ef0ef78a7d2b83c;p=mesa.git mesa: fix glGetInteger64v for arrays of integers Cc: 18.1 Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 772ca00da1f..db0079beb51 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -2003,7 +2003,7 @@ _mesa_GetInteger64v(GLenum pname, GLint64 *params) case TYPE_INT_N: for (i = 0; i < v.value_int_n.n; i++) - params[i] = INT_TO_BOOLEAN(v.value_int_n.ints[i]); + params[i] = v.value_int_n.ints[i]; break; case TYPE_UINT_4: