diff options
author | Marek Olšák <marek.olsak@amd.com> | 2018-06-20 14:55:24 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-06-22 09:42:31 -0700 |
commit | dd14a0f3e194b8ac82fbfca9a50f487e7481f8b4 (patch) | |
tree | c6c05de7528da75d64472a0116f4361b47430a37 | |
parent | 2a0015de3f2ed8b2117e09ecf8fa8bb9042c85b6 (diff) |
mesa: fix glGetInteger64v for arrays of integers
Cc: 18.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit a2790b134a912b84389022b96ef0ef78a7d2b83c)
-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 9a16d079e2..56d3421000 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1969,7 +1969,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: |