On Sunday, 2 May 2021 at 08:58:30 UTC, Danny Arends wrote:
Any thoughts on why loading the Vulkan library using SDL2 would
not work ?
thoughts in general about the process ?
Just few tips.
GC "crashes" since you have custom main, D default main has
runtime initialization code so it "just works", in you custom
main function try to do this before any call to D code.
https://dlang.org/phobos/core_runtime.html#.Runtime.initialize
```d
extern(C) main()
{
import core.runtime;
Runtime.initialize();
scope(exit)
Runtime.terminate();
}
```
As for SDL2, are you sure it was built with Vulkan support?
Do you have any other Vulkan apps to test if it actually
supported by your device?