Add Android for the condition of _meshBlendshapeBuffer usage

This commit is contained in:
Cristian Luis Duarte 2018-10-30 19:44:39 -03:00
parent a09b1adb6c
commit bc7e49482a

View file

@ -239,7 +239,7 @@ ModelMeshPartPayload::ModelMeshPartPayload(ModelPointer model, int meshIndex, in
initCache(model);
#ifdef Q_OS_MAC
#if defined(Q_OS_MAC) || defined(Q_OS_ANDROID)
// On mac AMD, we specifically need to have a _meshBlendshapeBuffer bound when using a deformed mesh pipeline
// it cannot be null otherwise we crash in the drawcall using a deformed pipeline with a skinned only (not blendshaped) mesh
if (_isBlendShaped) {