From 50dba35ebfdbba8767db387a1aa72b83bdbcf411 Mon Sep 17 00:00:00 2001 From: Powei Feng Date: Mon, 30 Sep 2024 12:57:02 -0700 Subject: [PATCH] Change std::memcpy to memcpy in SkinningBuffer --- filament/src/details/SkinningBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filament/src/details/SkinningBuffer.cpp b/filament/src/details/SkinningBuffer.cpp index 0c5759323ab..a9f668c32af 100644 --- a/filament/src/details/SkinningBuffer.cpp +++ b/filament/src/details/SkinningBuffer.cpp @@ -200,7 +200,7 @@ void updateDataAt(backend::DriverApi& driver, size_t const elementSize = sizeof(float2); size_t const size = getSkinningBufferSize(count); auto* out = (float2*)malloc(size); - std::memcpy(out, pairs.begin(), size); + memcpy(out, pairs.begin(), size); size_t const textureWidth = getSkinningBufferWidth(count); size_t const lineCount = count / textureWidth;