Browse Source

Fixed build.

Бранимир Караџић 2 years ago
parent
commit
2012564dfb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/simd_bench.cpp

+ 2 - 2
tests/simd_bench.cpp

@@ -103,7 +103,7 @@ void simd_bench()
 
 
 	const uint32_t numVertices = 1024*1024;
 	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* src = (bx::simd128_t*)data;
 	bx::simd128_t* dst = &src[numVertices];
 	bx::simd128_t* dst = &src[numVertices];
 
 
@@ -129,5 +129,5 @@ void simd_bench()
 
 
 	simd_bench_pass(dst, src, numVertices);
 	simd_bench_pass(dst, src, numVertices);
 
 
-	BX_ALIGNED_FREE(&allocator, data, 16);
+	bx::free(&allocator, data, 16);
 }
 }