diff options
author | Marek Olšák <[email protected]> | 2018-06-20 14:55:24 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-06-21 14:55:15 -0400 |
commit | a2790b134a912b84389022b96ef0ef78a7d2b83c (patch) | |
tree | 1bd4b72d520d599d68a24dd955a1f4d54bd8f8cf /src | |
parent | ce4b8b952afbf94bbc88b60da5cf80f9e7d04578 (diff) |
mesa: fix glGetInteger64v for arrays of integers
Cc: 18.1 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/get.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |