[PATCH v2 2/3] d3dx10/tests: Add tests for D3DX10GetImageInfoFromFileA().
14 Sep
2020
14 Sep
'20
4:20 a.m.
Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> --- dlls/d3dx10_43/tests/d3dx10.c | 40 +++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 7 deletions(-)
18 Sep
18 Sep
9:12 a.m.
On Mon, Sep 14, 2020 at 6:20 AM Ziqing Hui <zhui(a)codeweavers.com> wrote:
Signed-off-by: Ziqing Hui <zhui(a)codeweavers.com> --- dlls/d3dx10_43/tests/d3dx10.c | 40 +++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 7 deletions(-)
I think get_str_a() is not necessary, just use MAX_PATH for the string. If the user is running the tests with some crazy temporary files path that's < MAX_PATH in utf16 but >= MAX_PATH when ASCII, too bad for them...
1916
Age (days ago)
1920
Last active (days ago)
1 comments
2 participants
participants (2)
-
Matteo Bruni -
Ziqing Hui