This commit is contained in:
Dario Manesku 2014-08-18 21:25:11 +01:00
parent 3d3179e39b
commit b7177c9f5e

View file

@ -1902,7 +1902,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
uint32_t debug = BGFX_DEBUG_TEXT;
uint32_t reset = BGFX_RESET_VSYNC;
bgfx::init(bgfx::RendererType::OpenGL);
bgfx::init();
bgfx::reset(viewState.m_width, viewState.m_height, reset);
// Enable debug text.