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
d9fb7b9b
Commit
d9fb7b9b
authored
Jun 08, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: COM cleanup for the IDirect3DMaterial3 iface.
parent
8d91f8b6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
40 deletions
+37
-40
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
ddraw_private.h
dlls/ddraw/ddraw_private.h
+1
-1
material.c
dlls/ddraw/material.c
+35
-38
No files found.
dlls/ddraw/ddraw.c
View file @
d9fb7b9b
...
...
@@ -4611,7 +4611,7 @@ static HRESULT WINAPI d3d3_CreateMaterial(IDirect3D3 *iface, IDirect3DMaterial3
}
TRACE
(
"Created material %p.
\n
"
,
object
);
*
material
=
(
IDirect3DMaterial3
*
)
object
;
*
material
=
&
object
->
IDirect3DMaterial3_iface
;
return
D3D_OK
;
}
...
...
dlls/ddraw/ddraw_private.h
View file @
d9fb7b9b
...
...
@@ -414,7 +414,7 @@ void d3d_light_init(IDirect3DLightImpl *light, IDirectDrawImpl *ddraw) DECLSPEC_
******************************************************************************/
struct
IDirect3DMaterialImpl
{
const
IDirect3DMaterial3Vtbl
*
lpVtbl
;
IDirect3DMaterial3
IDirect3DMaterial3_iface
;
IDirect3DMaterial2
IDirect3DMaterial2_iface
;
IDirect3DMaterial
IDirect3DMaterial_iface
;
LONG
ref
;
...
...
dlls/ddraw/material.c
View file @
d9fb7b9b
This diff is collapsed.
Click to expand it.
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