Commit eb7fc363 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3dx9: Avoid '\n' in middle of TRACE() message.

parent 33147c94
......@@ -240,14 +240,16 @@ HRESULT WINAPI D3DXLoadVolumeFromFileInMemory(IDirect3DVolume9 *dst_volume,
D3DBOX box;
D3DXIMAGE_INFO image_info;
TRACE("dst_volume %p, dst_palette %p, dst_box %p, src_data %p, src_data_size %u, src_box %p,\n",
dst_volume, dst_palette, dst_box, src_data, src_data_size, src_box);
TRACE("filter %#x, color_key %#x, src_info %p.\n", filter, color_key, src_info);
TRACE("dst_volume %p, dst_palette %p, dst_box %p, src_data %p, src_data_size %u, src_box %p, "
"filter %#x, color_key 0x%08x, src_info %p.\n",
dst_volume, dst_palette, dst_box, src_data, src_data_size, src_box,
filter, color_key, src_info);
if (!dst_volume || !src_data) return D3DERR_INVALIDCALL;
if (!dst_volume || !src_data)
return D3DERR_INVALIDCALL;
hr = D3DXGetImageInfoFromFileInMemory(src_data, src_data_size, &image_info);
if (FAILED(hr)) return hr;
if (FAILED(hr = D3DXGetImageInfoFromFileInMemory(src_data, src_data_size, &image_info)))
return hr;
if (src_box)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment