Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
776fae4c
Commit
776fae4c
authored
Apr 08, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Avoid using DPRINTF().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b562484d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
d3dxof.c
dlls/d3dxof/d3dxof.c
+2
-2
parsing.c
dlls/d3dxof/parsing.c
+15
-15
No files found.
dlls/d3dxof/d3dxof.c
View file @
776fae4c
...
...
@@ -264,7 +264,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
ULONG
i
;
TRACE
(
"Registered templates (%d):
\n
"
,
This
->
nb_xtemplates
);
for
(
i
=
1
;
i
<
This
->
nb_xtemplates
;
i
++
)
DPRINTF
(
"%s - %s
\n
"
,
This
->
xtemplates
[
i
].
name
,
debugstr_guid
(
&
This
->
xtemplates
[
i
].
class_id
));
TRACE
(
"%s - %s
\n
"
,
This
->
xtemplates
[
i
].
name
,
debugstr_guid
(
&
This
->
xtemplates
[
i
].
class_id
));
}
*
ppEnumObj
=
&
object
->
IDirectXFileEnumObject_iface
;
...
...
@@ -343,7 +343,7 @@ static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LP
ULONG
i
;
TRACE
(
"Registered templates (%d):
\n
"
,
This
->
nb_xtemplates
);
for
(
i
=
1
;
i
<
This
->
nb_xtemplates
;
i
++
)
DPRINTF
(
"%s - %s
\n
"
,
This
->
xtemplates
[
i
].
name
,
debugstr_guid
(
&
This
->
xtemplates
[
i
].
class_id
));
TRACE
(
"%s - %s
\n
"
,
This
->
xtemplates
[
i
].
name
,
debugstr_guid
(
&
This
->
xtemplates
[
i
].
class_id
));
}
hr
=
DXFILE_OK
;
...
...
dlls/d3dxof/parsing.c
View file @
776fae4c
...
...
@@ -133,38 +133,38 @@ static void dump_template(xtemplate* templates_array, xtemplate* ptemplate)
clsid
=
&
ptemplate
->
class_id
;
DPRINTF
(
"template %s
\n
"
,
ptemplate
->
name
);
DPRINTF
(
"{
\n
"
);
DPRINTF
(
CLSIDFMT
"
\n
"
,
clsid
->
Data1
,
clsid
->
Data2
,
clsid
->
Data3
,
clsid
->
Data4
[
0
],
wine_dbg_printf
(
"template %s
\n
"
,
ptemplate
->
name
);
wine_dbg_printf
(
"{
\n
"
);
wine_dbg_printf
(
CLSIDFMT
"
\n
"
,
clsid
->
Data1
,
clsid
->
Data2
,
clsid
->
Data3
,
clsid
->
Data4
[
0
],
clsid
->
Data4
[
1
],
clsid
->
Data4
[
2
],
clsid
->
Data4
[
3
],
clsid
->
Data4
[
4
],
clsid
->
Data4
[
5
],
clsid
->
Data4
[
6
],
clsid
->
Data4
[
7
]);
for
(
j
=
0
;
j
<
ptemplate
->
nb_members
;
j
++
)
{
if
(
ptemplate
->
members
[
j
].
nb_dims
)
DPRINTF
(
"array "
);
wine_dbg_printf
(
"array "
);
if
(
ptemplate
->
members
[
j
].
type
==
TOKEN_NAME
)
DPRINTF
(
"%s "
,
templates_array
[
ptemplate
->
members
[
j
].
idx_template
].
name
);
wine_dbg_printf
(
"%s "
,
templates_array
[
ptemplate
->
members
[
j
].
idx_template
].
name
);
else
DPRINTF
(
"%s "
,
get_primitive_string
(
ptemplate
->
members
[
j
].
type
));
DPRINTF
(
"%s"
,
ptemplate
->
members
[
j
].
name
);
wine_dbg_printf
(
"%s "
,
get_primitive_string
(
ptemplate
->
members
[
j
].
type
));
wine_dbg_printf
(
"%s"
,
ptemplate
->
members
[
j
].
name
);
for
(
k
=
0
;
k
<
ptemplate
->
members
[
j
].
nb_dims
;
k
++
)
{
if
(
ptemplate
->
members
[
j
].
dim_fixed
[
k
])
DPRINTF
(
"[%d]"
,
ptemplate
->
members
[
j
].
dim_value
[
k
]);
wine_dbg_printf
(
"[%d]"
,
ptemplate
->
members
[
j
].
dim_value
[
k
]);
else
DPRINTF
(
"[%s]"
,
ptemplate
->
members
[
ptemplate
->
members
[
j
].
dim_value
[
k
]].
name
);
wine_dbg_printf
(
"[%s]"
,
ptemplate
->
members
[
ptemplate
->
members
[
j
].
dim_value
[
k
]].
name
);
}
DPRINTF
(
";
\n
"
);
wine_dbg_printf
(
";
\n
"
);
}
if
(
ptemplate
->
open
)
DPRINTF
(
"[...]
\n
"
);
wine_dbg_printf
(
"[...]
\n
"
);
else
if
(
ptemplate
->
nb_children
)
{
DPRINTF
(
"[%s"
,
ptemplate
->
children
[
0
]);
wine_dbg_printf
(
"[%s"
,
ptemplate
->
children
[
0
]);
for
(
j
=
1
;
j
<
ptemplate
->
nb_children
;
j
++
)
DPRINTF
(
",%s"
,
ptemplate
->
children
[
j
]);
DPRINTF
(
"]
\n
"
);
wine_dbg_printf
(
",%s"
,
ptemplate
->
children
[
j
]);
wine_dbg_printf
(
"]
\n
"
);
}
DPRINTF
(
"}
\n
"
);
wine_dbg_printf
(
"}
\n
"
);
}
static
BOOL
read_bytes
(
parse_buffer
*
buf
,
LPVOID
data
,
DWORD
size
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment