|
@@ -69,7 +69,7 @@ class Terrain : public entry::AppI
|
|
|
m_debug = BGFX_DEBUG_TEXT;
|
|
m_debug = BGFX_DEBUG_TEXT;
|
|
|
m_reset = BGFX_RESET_VSYNC;
|
|
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);
|
|
bgfx::reset(m_width, m_height, m_reset);
|
|
|
|
|
|
|
|
// Enable m_debug text.
|
|
// Enable m_debug text.
|