Make specifying invalid bgfx backends non-fatal, nw

This commit is contained in:
therealmogminer@gmail.com 2016-03-21 06:33:45 +01:00
parent 825d575195
commit b224d9a77a

View File

@ -153,8 +153,8 @@ int renderer_bgfx::create()
} }
else else
{ {
osd_printf_verbose("Unknown backend type '%s'\n", backend.c_str()); printf("Unknown backend type '%s', going with auto-detection\n", backend.c_str());
assert(false); bgfx::init();
} }
bgfx::reset(m_width[window().m_index], m_height[window().m_index], video_config.waitvsync ? BGFX_RESET_VSYNC : BGFX_RESET_NONE); bgfx::reset(m_width[window().m_index], m_height[window().m_index], video_config.waitvsync ? BGFX_RESET_VSYNC : BGFX_RESET_NONE);
// Enable debug text. // Enable debug text.