mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-24 04:53:28 -04:00
Cleanup.
This commit is contained in:
parent
7568c9a25e
commit
b2405e5221
2 changed files with 6 additions and 4 deletions
|
@ -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) )
|
||||
{
|
||||
|
|
|
@ -6638,4 +6638,3 @@ namespace bgfx { namespace gl
|
|||
} /* namespace gl */ } // namespace bgfx
|
||||
|
||||
#endif // (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue