Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
irmantus opened this issue Apr 7, 2025 · 1 comment
Open

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

irmantus opened this issue Apr 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@irmantus
Copy link

irmantus commented Apr 7, 2025

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();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant