d3d12: 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:38 -08:00
committed by Marge Bot
parent 4fede8d419
commit 472ef1ecae

View File

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