tests: Terminate the Agility SDK path with a slash.

That's what the documentation recommends. It used to work for me without
the slash, but maybe they changed something in recent versions.
This commit is contained in:
Giovanni Mascellani 2024-07-17 14:55:07 +02:00 committed by Henri Verbeet
parent e4e7368c1c
commit 7e557420b1
Notes: Henri Verbeet 2024-07-17 16:01:00 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/948
2 changed files with 2 additions and 2 deletions

2
README
View File

@ -153,4 +153,4 @@ these steps:
* It's also possible to use '-DVKD3D_AGILITY_SDK_PATH=/path/to/sdk/' to * It's also possible to use '-DVKD3D_AGILITY_SDK_PATH=/path/to/sdk/' to
specify the directory to load the Agility SDK DLLs from at runtime. specify the directory to load the Agility SDK DLLs from at runtime.
If relative, the path is intended to be relative to the executable If relative, the path is intended to be relative to the executable
path. If unspecified the path defaults to '.'. path. If unspecified the path defaults to './'.

View File

@ -268,7 +268,7 @@ static void wait_queue_idle_(unsigned int line, ID3D12Device *device, ID3D12Comm
VKD3D_EXPORT const char *D3D12SDKPath = VKD3D_EXPAND_AND_STRINGIFY(VKD3D_AGILITY_SDK_PATH); VKD3D_EXPORT const char *D3D12SDKPath = VKD3D_EXPAND_AND_STRINGIFY(VKD3D_AGILITY_SDK_PATH);
# else # else
# define VKD3D_AGILITY_SDK_EXPORT_PATH \ # define VKD3D_AGILITY_SDK_EXPORT_PATH \
VKD3D_EXPORT const char *D3D12SDKPath = "."; VKD3D_EXPORT const char *D3D12SDKPath = "./";
# endif # endif
# define VKD3D_AGILITY_SDK_EXPORTS \ # define VKD3D_AGILITY_SDK_EXPORTS \
VKD3D_AGILITY_SDK_EXPORT_VERSION \ VKD3D_AGILITY_SDK_EXPORT_VERSION \