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
34743e70
Commit
34743e70
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 LPDIRECTXFILE.
parent
390543dd
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 @
34743e70
...
...
@@ -1353,7 +1353,7 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
D3DRMLOADTEXTURECALLBACK
load_tex_cb
,
void
*
load_tex_ctx
,
IDirect3DRMFrame3
*
parent_frame
)
{
DXFILELOADOPTIONS
load_options
;
LPDIRECTXFILE
pDXF
ile
=
NULL
;
IDirectXFile
*
f
ile
=
NULL
;
LPDIRECTXFILEENUMOBJECT
pEnumObject
=
NULL
;
LPDIRECTXFILEDATA
pData
=
NULL
;
HRESULT
hr
;
...
...
@@ -1387,15 +1387,15 @@ static HRESULT WINAPI IDirect3DRM3Impl_Load(IDirect3DRM3 *iface, void *source, v
return
E_NOTIMPL
;
}
hr
=
DirectXFileCreate
(
&
pDXF
ile
);
hr
=
DirectXFileCreate
(
&
f
ile
);
if
(
hr
!=
DXFILE_OK
)
goto
end
;
hr
=
IDirectXFile_RegisterTemplates
(
pDXF
ile
,
templates
,
strlen
(
templates
));
hr
=
IDirectXFile_RegisterTemplates
(
f
ile
,
templates
,
strlen
(
templates
));
if
(
hr
!=
DXFILE_OK
)
goto
end
;
hr
=
IDirectXFile_CreateEnumObject
(
pDXF
ile
,
source
,
load_options
,
&
pEnumObject
);
hr
=
IDirectXFile_CreateEnumObject
(
f
ile
,
source
,
load_options
,
&
pEnumObject
);
if
(
hr
!=
DXFILE_OK
)
goto
end
;
...
...
@@ -1460,8 +1460,8 @@ end:
IDirectXFileData_Release
(
pData
);
if
(
pEnumObject
)
IDirectXFileEnumObject_Release
(
pEnumObject
);
if
(
pDXF
ile
)
IDirectXFile_Release
(
pDXF
ile
);
if
(
f
ile
)
IDirectXFile_Release
(
f
ile
);
return
ret
;
}
...
...
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