mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
restructure to not hardcore draw vk commands
This commit is contained in:
@@ -149,8 +149,10 @@ Graphics *Graphics::createInstance()
|
||||
{
|
||||
for (auto r : rendererOrder)
|
||||
{
|
||||
#ifdef LOVE_GRAPHICS_VULKAN
|
||||
// FIX ME: proper selection of vulkan backend
|
||||
instance = vulkan::createInstance();
|
||||
#endif
|
||||
|
||||
if (std::find(_renderers.begin(), _renderers.end(), r) == _renderers.end())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user