mesa/main: Pass the data that _mesa_uniform actually wants
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Oct 2014 09:00:32 +0000 (11:00 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 10 Nov 2014 12:25:39 +0000 (04:25 -0800)
commit5b9cf337b451a1229a3abc30aeb9c15393c8462c
tree47e80c163f347d9cdefd2c28b29d92ac47074684
parentd388d8576f004cbc6e659ab7e7b0e9af938f7068
mesa/main: Pass the data that _mesa_uniform actually wants

The GL_ enums were previously used because glsl_types.h couldn't be used
in C code.  That was fixed some time ago (and uniforms.c already
includes glsl_types.h), so this is no longer necessary.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h