summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/simd_test.cpp
diff options
context:
space:
mode:
author Branimir Karadžić <branimirkaradzic@gmail.com>2017-03-29 17:09:40 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2017-03-29 17:09:40 +0200
commit49f7c99c7786ce257fae28dfeae2f8ee5810424c (patch)
tree1bbd30dd4dd48596186846c2fc77a8dc748215d2 /3rdparty/bx/tests/simd_test.cpp
parent79f22e060b2c012d628d5d1d83288c1bb6e6acef (diff)
Update BGFX and BX (nw)
Diffstat (limited to '3rdparty/bx/tests/simd_test.cpp')
-rw-r--r--3rdparty/bx/tests/simd_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/bx/tests/simd_test.cpp b/3rdparty/bx/tests/simd_test.cpp
index 0a361f4f7aa..ca46fd00bc3 100644
--- a/3rdparty/bx/tests/simd_test.cpp
+++ b/3rdparty/bx/tests/simd_test.cpp
@@ -6,7 +6,7 @@
#include "test.h"
#include <bx/simd_t.h>
#include <bx/fpumath.h>
-#include <string.h>
+#include <bx/string.h>
#if 0
# define SIMD_DBG DBG
@@ -206,7 +206,7 @@ void simd_check_string(const char* _str, bx::simd128_t _a)
SIMD_DBG("%s %s", _str, test);
- CHECK(0 == strcmp(_str, test) );
+ CHECK(0 == bx::strncmp(_str, test) );
}
TEST_CASE("simd_swizzle", "")
@@ -220,7 +220,7 @@ TEST_CASE("simd_swizzle", "")
#define BX_SIMD128_IMPLEMENT_SWIZZLE(_x, _y, _z, _w) \
simd_check_string("" #_x #_y #_z #_w "", simd_swiz_##_x##_y##_z##_w(xyzw) ); \
-#include <bx/simd128_swizzle.inl>
+#include <bx/inline/simd128_swizzle.inl>
#undef BX_SIMD128_IMPLEMENT_SWIZZLE
#undef ELEMw