mesa: revert GL_[SECONDARY_]COLOR_ARRAY_SIZE glGet type to TYPE_INT
authorBrian Paul <brianp@vmware.com>
Thu, 10 May 2018 15:24:20 +0000 (09:24 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 10 May 2018 15:49:40 +0000 (09:49 -0600)
commite4211b36bba4acde3e56ce1e22b12759e820a241
tree4dbdaa710f1c7b30f18d5bd74501778b78ec0d56
parent34e9e4023fcebb6581751f553c8c877045068547
mesa: revert GL_[SECONDARY_]COLOR_ARRAY_SIZE glGet type to TYPE_INT

Since size can be 3, 4 or GL_BGRA we need to keep these glGet types
as TYPE_INT, not TYPE_UBYTE.

Fixes: d07466fe18522 ("mesa: fix glGetInteger/Float/etc queries for
vertex arrays attribs")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106462
cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
src/mesa/main/get_hash_params.py