mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Merge remote-tracking branch 'origin/release/1.9.x'
This commit is contained in:
commit
8764cb8222
@ -1977,7 +1977,7 @@ update_shader_vertex_arrays(ShaderContext *prev, bool force) {
|
|||||||
normalized, stride, client_pointer);
|
normalized, stride, client_pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_glgsg->_supports_vertex_attrib_divisor) {
|
if (_glgsg->_supports_vertex_attrib_divisor && divisor > 0) {
|
||||||
_glgsg->_glVertexAttribDivisor(p, divisor);
|
_glgsg->_glVertexAttribDivisor(p, divisor);
|
||||||
_has_divisor = true;
|
_has_divisor = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user