From 1607745432f50099711d7aee355111111e66ff51 Mon Sep 17 00:00:00 2001 From: Branimir Karadžić Date: Sun, 5 Feb 2017 13:56:35 +0100 Subject: Update BGFX and BX (nw) --- 3rdparty/bgfx/examples/common/entry/entry_sdl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '3rdparty/bgfx/examples/common/entry/entry_sdl.cpp') 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); -- cgit v1.2.3-70-g09d2