From 87efeb1a70e691edc517cef0696b83a7e15bc059 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 3 Oct 2018 16:15:07 -0700 Subject: [PATCH] make sure that we compile, dah --- libraries/render-utils/src/MeshPartPayload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/render-utils/src/MeshPartPayload.cpp b/libraries/render-utils/src/MeshPartPayload.cpp index d0d6c98b2e..c5df2c3e01 100644 --- a/libraries/render-utils/src/MeshPartPayload.cpp +++ b/libraries/render-utils/src/MeshPartPayload.cpp @@ -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(sizeof(glm::vec4), reinterpret_cast(data)); + _blendshapeBuffer = std::make_shared(sizeof(glm::vec4), reinterpret_cast(&data)); } #endif