summaryrefslogtreecommitdiffstats
path: root/3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp b/3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp
index 69a7ea31cf1..9cabff5e838 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp
+++ b/3rdparty/bgfx/examples/common/entry/entry_asmjs.cpp
@@ -29,7 +29,7 @@ namespace entry
, m_my(0)
, m_scroll(0)
{
- memset(s_translateKey, 0, sizeof(s_translateKey));
+ bx::memSet(s_translateKey, 0, sizeof(s_translateKey));
s_translateKey[27] = Key::Esc;
s_translateKey[uint8_t('\n')] =
s_translateKey[uint8_t('\r')] = Key::Return;