diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-26 11:39:24 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-26 11:39:31 -0600 |
commit | 04d170794a22d93d58afeb5d0930e06f85964f9a (patch) | |
tree | 7c69b8c0fcefed3f7302958b378951e7fdc9e9ec /src/mesa/main/hint.c | |
parent | bf7e4b10cbed496a12c8be17531c9cb7da1be177 (diff) |
glsl: fix bug in sampler array indexing
Need to add the 'offset' parameter when indexing the parameter array.
Before, if we were setting arrays of samplers, we were actually only
setting the 0th sampler's value.
Because of how progs/glsl/samplers.c is constructed, this wasn't showing
up as a failure in the samplers_array output.
Diffstat (limited to 'src/mesa/main/hint.c')
0 files changed, 0 insertions, 0 deletions