3285d1ad
by Giovanni Mascellani at 2024-10-10T19:53:18+02:00
tests: Only destroy the device if the context has one in vulkan_test_context_destroy().
If vulkan_test_context_init_device() was never called, or failed to
create a device, the context won't have a device.