More fixes to shader_api
authorBruce Merry <bmerry@users.sourceforge.net>
Fri, 21 Dec 2007 13:20:17 +0000 (15:20 +0200)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 16:58:15 +0000 (09:58 -0700)
commit89b80327ae9d74729f7eb57f338f6b20837ceb05
treebf95fce63d9fc1f79abf603e42f29bfe8a1a02b1
parenteeb03faadc7e677f69aaf82aef2786c39faa4b76
More fixes to shader_api

- return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad
- correct the type-checking of uniforms from my previous commit
- accept location of -1 in _mesa_uniform_matrix
src/mesa/shader/shader_api.c