mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
glgsg: fix support for matrix arrays in vertex data
This commit is contained in:
parent
c63562088b
commit
b0a5cceafd
@ -2462,7 +2462,7 @@ update_shader_vertex_arrays(ShaderContext *prev, bool force) {
|
||||
}
|
||||
|
||||
GLint p = bind._id._seqno;
|
||||
max_p = max(max_p, p + 1);
|
||||
max_p = max(max_p, p + bind._elements);
|
||||
|
||||
// Don't apply vertex colors if they are disabled with a ColorAttrib.
|
||||
int num_elements, element_stride, divisor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user