Issue with Vulkan/MoltenVK creating GLFW window for macOS
Opened this issue · 0 comments
irmantus commented
Summary
There seems to be an issue with Silk.NET version 2.22 and 2.21 when trying to create GLWF window on macOS using Vulkan. For version 2.20 it works fine but for mentioned versions I'm getting error: "Silk.NET.Windowing.Glfw.dll: 'Attempted to initialize a Vulkan window using GLFW, which doesn't support Vulkan on this computer.'"
Steps to reproduce
Simple code:
public void Initialize()
{
// Create a window
var options = WindowOptions.DefaultVulkan;
options.Size = new Silk.NET.Maths.Vector2D<int>(800, 600);
options.Title = "Test Window";
window = Window.Create(options);
window.Initialize(); // Error: Silk.NET.Windowing.Glfw.dll: 'Attempted to initialize a Vulkan window using GLFW, which doesn't support Vulkan on this computer.'
window.Load += OnLoad;
window.Render += OnRender;
window.Closing += OnClose;
window.Run();
}