mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
glsl: fix use of multiple p3d_TextureMatrix[] values
This commit is contained in:
parent
5449f963a5
commit
7f385b5ddf
@ -890,6 +890,7 @@ reflect_uniform(int i, char *name_buffer, GLsizei name_buflen) {
|
|||||||
|
|
||||||
// Add it once for each index.
|
// Add it once for each index.
|
||||||
for (bind._index = 0; bind._index < param_size; ++bind._index) {
|
for (bind._index = 0; bind._index < param_size; ++bind._index) {
|
||||||
|
bind._id._seqno = p + bind._index;
|
||||||
_shader->_mat_spec.push_back(bind);
|
_shader->_mat_spec.push_back(bind);
|
||||||
}
|
}
|
||||||
_shader->_mat_deps |= bind._dep[0];
|
_shader->_mat_deps |= bind._dep[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user