summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_sdl.cpp
diff options
context:
space:
mode:
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);