main: fix length of values written to glGetProgramResourceiv() for ACTIVE_VARIABLES
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 5 Oct 2015 11:14:26 +0000 (13:14 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 9 Oct 2015 06:13:55 +0000 (08:13 +0200)
commit3da58730eeb51d9490045260e4848ba14bf9bb65
tree440d824a10435c2d04ca93ca8e0c9d4ceadb0039
parentd0992fa15a4bfaff59de50e6084a0a14882d3bdb
main: fix length of values written to glGetProgramResourceiv() for ACTIVE_VARIABLES

Return the number of values written.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/mesa/main/shader_query.cpp