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
6aa77edf
Commit
6aa77edf
authored
Jun 05, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Jun 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMMeshBuilderX_SetMaterial.
parent
1425c78c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
meshbuilder.c
dlls/d3drm/meshbuilder.c
+11
-5
No files found.
dlls/d3drm/meshbuilder.c
View file @
6aa77edf
...
...
@@ -651,13 +651,13 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_SetTexture(IDirect3DRMMeshBuil
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_SetMaterial
(
IDirect3DRMMeshBuilder2
*
iface
,
LPDIRECT3DRMMATERIAL
pM
aterial
)
LPDIRECT3DRMMATERIAL
m
aterial
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder2
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
pM
aterial
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
m
aterial
);
return
E_NOTIMPL
;
return
IDirect3DRMMeshBuilder3_SetMaterial
(
&
This
->
IDirect3DRMMeshBuilder3_iface
,
(
LPDIRECT3DRMMATERIAL2
)
material
)
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder2Impl_SetTextureTopology
(
IDirect3DRMMeshBuilder2
*
iface
,
...
...
@@ -1756,9 +1756,15 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_SetMaterial(IDirect3DRMMeshBui
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
material
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
material
);
return
E_NOTIMPL
;
if
(
material
)
IDirect3DRMTexture2_AddRef
(
material
);
if
(
This
->
material
)
IDirect3DRMTexture2_Release
(
This
->
material
);
This
->
material
=
material
;
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_SetTextureTopology
(
IDirect3DRMMeshBuilder3
*
iface
,
...
...
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