Update CModelBoo.cpp

This commit is contained in:
Jack Andersen 2016-03-30 21:50:52 -10:00
parent 7b865683e7
commit d5ff5e3ace
1 changed files with 1 additions and 0 deletions

View File

@ -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<boo::ITexture*> texs;