diff --git a/libraries/graphics/src/graphics/Geometry.cpp b/libraries/graphics/src/graphics/Geometry.cpp index bc89dbfc3d..0fb2a0eb51 100644 --- a/libraries/graphics/src/graphics/Geometry.cpp +++ b/libraries/graphics/src/graphics/Geometry.cpp @@ -160,7 +160,7 @@ graphics::MeshPointer Mesh::map(std::function vertexFunc, gpu::BufferView::Index numVertices = (gpu::BufferView::Index)getNumVertices(); gpu::Resource::Size vertexSize = numVertices * sizeof(glm::vec3); - std::unique_ptr resultVertexData{ new unsigned char[vertexSize] }; + std::unique_ptr resultVertexData{ new unsigned char[vertexSize] }; unsigned char* vertexDataCursor = resultVertexData.get(); for (gpu::BufferView::Index i = 0; i < numVertices; i++) {