diff options
author | 2015-11-01 20:30:24 +0100 | |
---|---|---|
committer | 2015-11-01 20:30:24 +0100 | |
commit | 5664971d3bf57ad7e1a7a3138f788f714c0d7d74 (patch) | |
tree | f64fdaa35a890c4c7052f5fd173b3d0d3668a4ed /3rdparty/bgfx/examples/06-bump/bump.cpp | |
parent | 99c12e17c40fecb16e1ef0dc2fae0d45a86def59 (diff) |
update to latest BGFX and BX
Diffstat (limited to '3rdparty/bgfx/examples/06-bump/bump.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/06-bump/bump.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/06-bump/bump.cpp b/3rdparty/bgfx/examples/06-bump/bump.cpp index 1cbf74592de..e373bf65253 100644 --- a/3rdparty/bgfx/examples/06-bump/bump.cpp +++ b/3rdparty/bgfx/examples/06-bump/bump.cpp @@ -105,14 +105,16 @@ static const uint16_t s_cubeIndices[36] = class Bump : public entry::AppI { - void init(int /*_argc*/, char** /*_argv*/) BX_OVERRIDE + void init(int _argc, char** _argv) BX_OVERRIDE { + Args args(_argc, _argv); + m_width = 1280; m_height = 720; m_debug = BGFX_DEBUG_TEXT; m_reset = BGFX_RESET_VSYNC; - bgfx::init(); + bgfx::init(args.m_type, args.m_pciId); bgfx::reset(m_width, m_height, m_reset); // Enable debug text. |