[PATCH v2 2/3] d3dx10/tests: Add tests for D3DX10GetImageInfoFromFileA().
Sept. 14, 2020
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(-)
September 2020
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...
2016
Age (days ago)
2020
Last active (days ago)
1 comments
2 participants
participants (2)
-
Matteo Bruni -
Ziqing Hui