This commit is contained in:
Branimir Karadžić 2016-02-16 20:38:59 -08:00
parent 7568c9a25e
commit b2405e5221
2 changed files with 6 additions and 4 deletions

View File

@ -646,10 +646,13 @@ Args::Args(int _argc, char** _argv)
{
m_type = bgfx::RendererType::OpenGL;
}
else if (cmdLine.hasArg("noop")
|| cmdLine.hasArg("vk") )
else if (cmdLine.hasArg("vk") )
{
m_type = bgfx::RendererType::OpenGL;
m_type = bgfx::RendererType::Vulkan;
}
else if (cmdLine.hasArg("noop") )
{
m_type = bgfx::RendererType::Null;
}
else if (BX_ENABLED(BX_PLATFORM_WINDOWS) )
{

View File

@ -6638,4 +6638,3 @@ namespace bgfx { namespace gl
} /* namespace gl */ } // namespace bgfx
#endif // (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)