mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- avoid Vulkan initialization when it's disabled in Cocoa backend
This commit is contained in:
parent
83de8ae5a0
commit
97fc3aa9a6
1 changed files with 12 additions and 12 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue