From d5ff5e3ace4b5e26a064f3849668428553b782a9 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 30 Mar 2016 21:50:52 -1000 Subject: [PATCH] Update CModelBoo.cpp --- Runtime/Graphics/CModelBoo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Graphics/CModelBoo.cpp b/Runtime/Graphics/CModelBoo.cpp index 7d43ff461..22bd83174 100644 --- a/Runtime/Graphics/CModelBoo.cpp +++ b/Runtime/Graphics/CModelBoo.cpp @@ -47,6 +47,7 @@ void CBooModel::BuildGfxToken() m_unskinnedXfBuffer = ctx.newDynamicBuffer(boo::BufferUse::Vertex, sizeof(SUnskinnedXf), 1); boo::IGraphicsBuffer* bufs[] = {m_unskinnedXfBuffer}; + m_shaderDataBindings.clear(); m_shaderDataBindings.reserve(x4_matSet->materials.size()); auto pipelineIt = m_pipelines->begin(); std::vector texs;