Commit 81ea0cd8 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3dxof/tests: Avoid preprocessor check to ensure it compiles.

parent 10fc362d
...@@ -1184,12 +1184,13 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int level) ...@@ -1184,12 +1184,13 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int level)
for (i = 0; i < level; i++) for (i = 0; i < level; i++)
printf(" "); printf(" ");
printf("Found Data Reference (%d)\n", j); printf("Found Data Reference (%d)\n", j);
#if 0 if (0)
{
hr = IDirectXFileDataReference_GetId(lpDirectXFileData, &clsid); hr = IDirectXFileDataReference_GetId(lpDirectXFileData, &clsid);
ok(hr == DXFILE_OK, "IDirectXFileData_GetId: %x\n", hr); ok(hr == DXFILE_OK, "IDirectXFileData_GetId: %x\n", hr);
hr = IDirectXFileDataReference_GetName(lpDirectXFileData, name, &len); hr = IDirectXFileDataReference_GetName(lpDirectXFileData, name, &len);
ok(hr == DXFILE_OK, "IDirectXFileData_GetName: %x\n", hr); ok(hr == DXFILE_OK, "IDirectXFileData_GetName: %x\n", hr);
#endif }
IDirectXFileDataReference_Resolve(p2, &pfdo); IDirectXFileDataReference_Resolve(p2, &pfdo);
process_data(pfdo, level); process_data(pfdo, level);
IDirectXFileData_Release(pfdo); IDirectXFileData_Release(pfdo);
......
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