d3dx9_36: Print the debug string and not the pointer to it.
This commit is contained in:
parent
1660c39cad
commit
60cf73d6fa
|
@ -673,8 +673,9 @@ HRESULT WINAPI D3DXCreateTextureFromFileExW(LPDIRECT3DDEVICE9 device,
|
|||
DWORD size;
|
||||
LPVOID buffer;
|
||||
|
||||
TRACE("(%p, %p, %u, %u, %u, %x, %x, %x, %u, %u, %x, %p, %p, %p): relay\n", device, debugstr_w(srcfile), width,
|
||||
height, miplevels, usage, format, pool, filter, mipfilter, colorkey, srcinfo, palette, texture);
|
||||
TRACE("(%p, %s, %u, %u, %u, %x, %x, %x, %u, %u, %x, %p, %p, %p): relay\n",
|
||||
device, debugstr_w(srcfile), width, height, miplevels, usage, format, pool, filter,
|
||||
mipfilter, colorkey, srcinfo, palette, texture);
|
||||
|
||||
if (!srcfile)
|
||||
return D3DERR_INVALIDCALL;
|
||||
|
@ -710,8 +711,9 @@ HRESULT WINAPI D3DXCreateTextureFromFileExA(LPDIRECT3DDEVICE9 device,
|
|||
HRESULT hr;
|
||||
DWORD len;
|
||||
|
||||
TRACE("(%p, %p, %u, %u, %u, %x, %x, %x, %u, %u, %x, %p, %p, %p): relay\n", device, debugstr_a(srcfile), width,
|
||||
height, miplevels, usage, format, pool, filter, mipfilter, colorkey, srcinfo, palette, texture);
|
||||
TRACE("(%p, %s, %u, %u, %u, %x, %x, %x, %u, %u, %x, %p, %p, %p): relay\n",
|
||||
device, debugstr_a(srcfile), width, height, miplevels, usage, format, pool, filter,
|
||||
mipfilter, colorkey, srcinfo, palette, texture);
|
||||
|
||||
if (!device || !srcfile || !texture)
|
||||
return D3DERR_INVALIDCALL;
|
||||
|
|
Loading…
Reference in New Issue