Skip to content

Commit

Permalink
Change std::memcpy to memcpy in SkinningBuffer (#8169)
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng authored Oct 1, 2024
1 parent e85c22c commit 93d28bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filament/src/details/SkinningBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 93d28bc

Please sign in to comment.