- avoid Vulkan initialization when it's disabled in Cocoa backend

This commit is contained in:
alexey.lysiuk 2019-03-17 14:45:19 +02:00
parent 83de8ae5a0
commit 97fc3aa9a6

View file

@ -364,11 +364,6 @@ public:
vulkanView.layer.backgroundColor = NSColor.blackColor.CGColor;
[ms_window setContentView:vulkanView];
}
else
{
SetupOpenGLView(ms_window);
}
try
{
@ -381,6 +376,11 @@ public:
SetupOpenGLView(ms_window);
}
}
else
{
SetupOpenGLView(ms_window);
}
if (fb == nullptr)
{