Fix a bug of OsdUtilMeshBatch, the varying buffer isn't computed with CL kernel.

This commit is contained in:
Takahito Tejima 2014-04-18 14:01:19 -07:00
parent a256dd1d44
commit 5c5c7e2ab1

View File

@ -100,7 +100,7 @@ public:
Base::populateDirtyKernelBatches(batches);
Base::resetMeshDirty();
_computeController->Refine(_computeContext, batches, _vertexBuffer);
_computeController->Refine(_computeContext, batches, _vertexBuffer, _varyingBuffer);
}
VertexBuffer *GetVertexBuffer() const { return _vertexBuffer; }