Skip to content

Issue with Vulkan/MoltenVK creating GLFW window for macOS #2440

Open
@irmantus

Description

@irmantus

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();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions