mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fixed build.
This commit is contained in:
@@ -103,7 +103,7 @@ void simd_bench()
|
||||
|
||||
const uint32_t numVertices = 1024*1024;
|
||||
|
||||
uint8_t* data = (uint8_t*)BX_ALIGNED_ALLOC(&allocator, 2*numVertices*sizeof(bx::simd128_t), 16);
|
||||
uint8_t* data = (uint8_t*)bx::alloc(&allocator, 2*numVertices*sizeof(bx::simd128_t), 16);
|
||||
bx::simd128_t* src = (bx::simd128_t*)data;
|
||||
bx::simd128_t* dst = &src[numVertices];
|
||||
|
||||
@@ -129,5 +129,5 @@ void simd_bench()
|
||||
|
||||
simd_bench_pass(dst, src, numVertices);
|
||||
|
||||
BX_ALIGNED_FREE(&allocator, data, 16);
|
||||
bx::free(&allocator, data, 16);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user