-verbose enable debug data with -video bgfx (nw)

This commit is contained in:
Miodrag Milanovic 2016-02-28 18:01:53 +01:00
parent a0d2d660bf
commit d123317a60

View File

@ -127,7 +127,7 @@ int renderer_bgfx::create()
bgfx::init();
bgfx::reset(m_width[window().m_index], m_height[window().m_index], video_config.waitvsync ? BGFX_RESET_VSYNC : BGFX_RESET_NONE);
// Enable debug text.
bgfx::setDebug(BGFX_DEBUG_TEXT); //BGFX_DEBUG_STATS
bgfx::setDebug(window().machine().options().verbose() ? BGFX_DEBUG_STATS : BGFX_DEBUG_TEXT);
m_dimensions = osd_dim(m_width[0], m_height[0]);
}