OpensSubdiv: Cleanup, unused argument

This commit is contained in:
Sergey Sharybin
2016-12-20 10:23:36 +01:00
parent 1c34a7f4eb
commit 544f6113f8

View File

@@ -117,12 +117,12 @@ protected:
* is small enough and better to be allocated in stack rather * is small enough and better to be allocated in stack rather
* than in heap. * than in heap.
* *
* TODO(sergey): Check if bare arrays could be sued by CPU evalautor. * TODO(sergey): Check if bare arrays could be used by CPU evalautor.
*/ */
template <int element_size, int num_verts> template <int element_size, int num_verts>
class StackAllocatedBuffer { class StackAllocatedBuffer {
public: public:
static PatchCoordBuffer *Create(int size) static PatchCoordBuffer *Create(int /*size*/)
{ {
StackAllocatedBuffer<element_size, num_verts> *buffer = StackAllocatedBuffer<element_size, num_verts> *buffer =
new StackAllocatedBuffer<element_size, num_verts>(); new StackAllocatedBuffer<element_size, num_verts>();