summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
diff options
context:
space:
mode:
author Branimir Karadžić <branimirkaradzic@gmail.com>2017-02-05 13:56:35 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2017-02-05 13:56:35 +0100
commit1607745432f50099711d7aee355111111e66ff51 (patch)
treec4eaec8008f6e0283ca652cdffb55a34eca9b9bb /3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
parent193e8c8a89a4be5c63909cdbbcca4d9d6f8fee02 (diff)
Update BGFX and BX (nw)
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_sdl.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_sdl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp b/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
index 47aca39ff46..757c9f3a357 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
+++ b/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
@@ -487,13 +487,13 @@ namespace entry
setWindowSize(defaultWindow, m_width, m_height, true);
bx::FileReaderI* reader = getFileReader();
- if (bx::open(&reader, "gamecontrollerdb.txt") )
+ if (bx::open(reader, "gamecontrollerdb.txt") )
{
bx::AllocatorI* allocator = getAllocator();
- uint32_t size = (uint32_t)bx::getSize(&reader);
+ uint32_t size = (uint32_t)bx::getSize(reader);
void* data = BX_ALLOC(allocator, size);
- bx::read(&reader, data, size);
- bx::close(&reader);
+ bx::read(reader, data, size);
+ bx::close(reader);
SDL_GameControllerAddMapping( (char*)data);