diff options
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 6f5dab4a07d..d1ee8f5d9ec 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -72,7 +72,7 @@ tu_physical_device_init(struct tu_physical_device *device, drmDevicePtr drm_device) { const char *path = drm_device->nodes[DRM_NODE_RENDER]; - VkResult result; + VkResult result = VK_SUCCESS; drmVersionPtr version; int fd; int master_fd = -1; |