Use flags from parameter, fixes #41
Use flags from parameter, fixes #41

SaschaWillems/Vulkan,SaschaWillems/Vulkan,martty/Vulkan,SaschaWillems/Vulkan,ming4883/Vulkan,grim210/Vulkan,jaakkowork/Vulkan,jherico/Vulkan,jpbruyere/Vulkan,ming4883/Vulkan,jpbruyere/Vulkan,grim210/Vulkan,ming4883/Vulkan,jherico/Vulkan,jaakkowork/Vulkan,SaschaWillems/Vulkan,SaschaWillems/Vulkan,dreadwords/Vulkan