This commit is contained in:
Branimir Karadžić 2016-02-04 21:46:12 -08:00
parent 18cc77deab
commit 60f068c648

View File

@ -69,7 +69,7 @@ class Terrain : public entry::AppI
m_debug = BGFX_DEBUG_TEXT;
m_reset = BGFX_RESET_VSYNC;
bgfx::init(bgfx::RendererType::Direct3D11, args.m_pciId);
bgfx::init(args.m_type, args.m_pciId);
bgfx::reset(m_width, m_height, m_reset);
// Enable m_debug text.