dzn: Fix path passed to CreateDeviceFactory

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27287>
This commit is contained in:
Jesse Natalie
2024-01-25 16:04:20 -08:00
committed by Marge Bot
parent fa1c9618f9
commit 4fede8d419

View File

@@ -261,6 +261,7 @@ try_find_d3d12core_next_to_self(char *path, size_t path_arr_size)
return NULL;
}
*(last_slash + 1) = '\0';
return path;
}
#endif