From a2790b134a912b84389022b96ef0ef78a7d2b83c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 20 Jun 2018 14:55:24 -0400 Subject: [PATCH] mesa: fix glGetInteger64v for arrays of integers Cc: 18.1 Reviewed-by: Timothy Arceri --- src/mesa/main/get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2