mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 01:22:25 +02:00
make sure that we compile, dah
This commit is contained in:
parent
81e0d5ced0
commit
87efeb1a70
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ ModelMeshPartPayload::ModelMeshPartPayload(ModelPointer model, int meshIndex, in
|
|||
// it cannot be null otherwise we crash in the drawcall using a deformed pipeline with a skinned only (not blendshaped) mesh
|
||||
if ((_isBlendShaped || _isSkinned) && !_blendshapeBuffer) {
|
||||
glm::vec4 data;
|
||||
_blendshapeBuffer = std::make_shared<gpu::Buffer>(sizeof(glm::vec4), reinterpret_cast<const Byte*>(data));
|
||||
_blendshapeBuffer = std::make_shared<gpu::Buffer>(sizeof(glm::vec4), reinterpret_cast<const gpu::Byte*>(&data));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue