summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorlawnjelly <lawnjelly@gmail.com>2019-09-20 09:45:51 +0100
committerlawnjelly <lawnjelly@gmail.com>2019-09-22 15:38:20 +0100
commitf5365aa0e12fe0ba2acb60a3fcb99126e0428b93 (patch)
tree689e8ff3c92d425a817b27960bea240f1509dca7 /doc/classes
parent2add51d0823fe2ef7cb439a6f3fae17e8dd4717f (diff)
Fix GLES2 skinning where VERTEX_TEXTURE not supported
Although the backup USE_SKELETON_SOFTWARE skinning path is currently used when float texture is not supported, the default skinning path still fails when float texture is supported but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0, i.e. the device cannot read from texture during vertex shader. This PR adds the logic to activate the SKELETON_SOFTWARE path if either of these cases occur, preventing crashes on devices which have this combination of features.
Diffstat (limited to 'doc/classes')
0 files changed, 0 insertions, 0 deletions