Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
db2d54ff
Commit
db2d54ff
authored
Aug 19, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDIRECTXFILEENUMOBJECT.
parent
34743e70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
d3drm.c
dlls/d3drm/d3drm.c
+6
-6
No files found.
dlls/d3drm/d3drm.c
View file @
db2d54ff
...
...
@@ -1354,7 +1354,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
{
DXFILELOADOPTIONS
load_options
;
IDirectXFile
*
file
=
NULL
;
LPDIRECTXFILEENUMOBJECT
pEnumO
bject
=
NULL
;
IDirectXFileEnumObject
*
enum_o
bject
=
NULL
;
LPDIRECTXFILEDATA
pData
=
NULL
;
HRESULT
hr
;
const
GUID
*
pGuid
;
...
...
@@ -1395,11 +1395,11 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
if
(
hr
!=
DXFILE_OK
)
goto
end
;
hr
=
IDirectXFile_CreateEnumObject
(
file
,
source
,
load_options
,
&
pEnumO
bject
);
hr
=
IDirectXFile_CreateEnumObject
(
file
,
source
,
load_options
,
&
enum_o
bject
);
if
(
hr
!=
DXFILE_OK
)
goto
end
;
hr
=
IDirectXFileEnumObject_GetNextDataObject
(
pEnumO
bject
,
&
pData
);
hr
=
IDirectXFileEnumObject_GetNextDataObject
(
enum_o
bject
,
&
pData
);
if
(
hr
!=
DXFILE_OK
)
goto
end
;
...
...
@@ -1433,7 +1433,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
while
(
1
)
{
hr
=
IDirectXFileEnumObject_GetNextDataObject
(
pEnumO
bject
,
&
pData
);
hr
=
IDirectXFileEnumObject_GetNextDataObject
(
enum_o
bject
,
&
pData
);
if
(
hr
==
DXFILEERR_NOMOREOBJECTS
)
{
TRACE
(
"No more object
\n
"
);
...
...
@@ -1458,8 +1458,8 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
end:
if
(
pData
)
IDirectXFileData_Release
(
pData
);
if
(
pEnumO
bject
)
IDirectXFileEnumObject_Release
(
pEnumO
bject
);
if
(
enum_o
bject
)
IDirectXFileEnumObject_Release
(
enum_o
bject
);
if
(
file
)
IDirectXFile_Release
(
file
);
...
...
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