summaryrefslogtreecommitdiff
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-06 16:26:47 -0600
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-23 17:33:49 -0700
commiteda291e316601d2ebf9834c290686854ea857aec (patch)
tree54b703904e1f5dc35aebc4b91944abf6dd21696c /src/mesa/vbo/vbo_exec_api.c
parentbda6ad273d17efbe69a2a0599595cd4d50617cc3 (diff)
mesa: glsl: fix a number of glUniform issues
Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1.
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
0 files changed, 0 insertions, 0 deletions