Cleanup.
This commit is contained in:
parent
7568c9a25e
commit
b2405e5221
@ -646,10 +646,13 @@ Args::Args(int _argc, char** _argv)
|
|||||||
{
|
{
|
||||||
m_type = bgfx::RendererType::OpenGL;
|
m_type = bgfx::RendererType::OpenGL;
|
||||||
}
|
}
|
||||||
else if (cmdLine.hasArg("noop")
|
else if (cmdLine.hasArg("vk") )
|
||||||
|| 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) )
|
else if (BX_ENABLED(BX_PLATFORM_WINDOWS) )
|
||||||
{
|
{
|
||||||
|
@ -6638,4 +6638,3 @@ namespace bgfx { namespace gl
|
|||||||
} /* namespace gl */ } // namespace bgfx
|
} /* namespace gl */ } // namespace bgfx
|
||||||
|
|
||||||
#endif // (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
#endif // (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user