sdl2_nim
sdl2_nim copied to clipboard
Add when blocks to handle various vulkan packages
Small fixes to not use stubbed pointers but rather the real types of some packages when some indicator it exists has been given.
Takes a similar approach to nimgl and their GLFW packages by detecting compile time defines to indicate which library should provide vulkan symbols.
Tested successfully with vulkanim.