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
06c8d49e
Commit
06c8d49e
authored
Oct 07, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Enable referencing of named subobjects too.
parent
9d64f825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
d3dxof.c
dlls/d3dxof/d3dxof.c
+7
-3
No files found.
dlls/d3dxof/d3dxof.c
View file @
06c8d49e
...
...
@@ -1843,7 +1843,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
{
if
(
check_TOKEN
(
buf
)
==
TOKEN_OBRACE
)
{
int
i
;
int
i
,
j
;
get_TOKEN
(
buf
);
if
(
get_TOKEN
(
buf
)
!=
TOKEN_NAME
)
return
FALSE
;
...
...
@@ -1852,9 +1852,13 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
TRACE
(
"Found optional reference %s
\n
"
,
(
char
*
)
buf
->
value
);
for
(
i
=
0
;
i
<
buf
->
nb_pxo_globals
;
i
++
)
{
if
(
!
strcmp
(
buf
->
pxo_globals
[
i
*
MAX_SUBOBJECTS
].
name
,
(
char
*
)
buf
->
value
))
break
;
for
(
j
=
0
;
j
<
buf
->
pxo_globals
[
i
*
MAX_SUBOBJECTS
].
nb_subobjects
;
j
++
)
{
if
(
!
strcmp
(
buf
->
pxo_globals
[
i
*
MAX_SUBOBJECTS
+
j
].
name
,
(
char
*
)
buf
->
value
))
goto
_exit
;
}
}
_exit:
if
(
i
==
buf
->
nb_pxo_globals
)
{
ERR
(
"Reference to unknown object %s
\n
"
,
(
char
*
)
buf
->
value
);
...
...
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