summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_p.h
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/bgfx/examples/common/entry/entry_p.h
parent79f22e060b2c012d628d5d1d83288c1bb6e6acef (diff)
Update BGFX and BX (nw)
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_p.h')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_p.h b/3rdparty/bgfx/examples/common/entry/entry_p.h
index 74a279f8e2c..ab45cfef5b5 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_p.h
+++ b/3rdparty/bgfx/examples/common/entry/entry_p.h
@@ -11,7 +11,6 @@
#include <bx/spscqueue.h>
#include "entry.h"
-#include <string.h> // memcpy
#ifndef ENTRY_CONFIG_USE_NOOP
# define ENTRY_CONFIG_USE_NOOP (BX_PLATFORM_QNX)
@@ -199,7 +198,7 @@ namespace entry
{
CharEvent* ev = new CharEvent(_handle);
ev->m_len = _len;
- memcpy(ev->m_char, _char, 4);
+ bx::memCopy(ev->m_char, _char, 4);
m_queue.push(ev);
}
@@ -298,7 +297,7 @@ namespace entry
}
private:
- bx::SpScUnboundedQueue<Event> m_queue;
+ bx::SpScUnboundedQueueT<Event> m_queue;
};
} // namespace entry