Alex Henrie : d3dcompiler_43: Use debugstr_fourcc instead of debugstr_an.
Module: wine Branch: master Commit: aca965d7f29b075f07ebe9dcced4362a95f6e3bd URL: https://gitlab.winehq.org/wine/wine/-/commit/aca965d7f29b075f07ebe9dcced4362... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Mon Oct 16 23:28:25 2023 -0600 d3dcompiler_43: Use debugstr_fourcc instead of debugstr_an. --- dlls/d3dcompiler_43/blob.c | 4 ++-- dlls/d3dcompiler_43/reflection.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/d3dcompiler_43/blob.c b/dlls/d3dcompiler_43/blob.c index bba1c6f590b..2d729f20486 100644 --- a/dlls/d3dcompiler_43/blob.c +++ b/dlls/d3dcompiler_43/blob.c @@ -209,7 +209,7 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part) break; } - TRACE("%s tag %s\n", add ? "Add" : "Skip", debugstr_an((const char *)&tag, 4)); + TRACE("%s tag %s\n", add ? "Add" : "Skip", debugstr_fourcc(tag)); return add; } @@ -341,7 +341,7 @@ static BOOL check_blob_strip(DWORD tag, UINT flags) break; } - TRACE("%s tag %s\n", add ? "Add" : "Skip", debugstr_an((const char *)&tag, 4)); + TRACE("%s tag %s\n", add ? "Add" : "Skip", debugstr_fourcc(tag)); return add; } diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c index e4080da8c21..03329022fd9 100644 --- a/dlls/d3dcompiler_43/reflection.c +++ b/dlls/d3dcompiler_43/reflection.c @@ -1705,7 +1705,7 @@ static HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature * break; default: - FIXME("Unhandled section %s!\n", debugstr_an((const char *)§ion->tag, 4)); + FIXME("Unhandled section %s!\n", debugstr_fourcc(section->tag)); element_size = D3DCOMPILER_SIGNATURE_ELEMENT_SIZE6; break; } @@ -1963,7 +1963,7 @@ static HRESULT d3dcompiler_shader_reflection_init(struct d3dcompiler_shader_refl break; default: - FIXME("Unhandled section %s!\n", debugstr_an((const char *)§ion->tag, 4)); + FIXME("Unhandled section %s!\n", debugstr_fourcc(section->tag)); break; } }
participants (1)
-
Alexandre Julliard