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
db6b10e2
Commit
db6b10e2
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 IDirect3DRMMesh_SetGroupTexture.
parent
94c817e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
meshbuilder.c
dlls/d3drm/meshbuilder.c
+15
-3
No files found.
dlls/d3drm/meshbuilder.c
View file @
db6b10e2
...
...
@@ -2692,13 +2692,25 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_SetGroupMaterial(IDirect3DRMMesh* ifac
}
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_SetGroupTexture
(
IDirect3DRMMesh
*
iface
,
D3DRMGROUPINDEX
id
,
LPDIRECT3DRMTEXTURE
valu
e
)
D3DRMGROUPINDEX
id
,
LPDIRECT3DRMTEXTURE
textur
e
)
{
IDirect3DRMMeshImpl
*
This
=
impl_from_IDirect3DRMMesh
(
iface
);
FIXME
(
"(%p)->(%u,%p): stub
\n
"
,
This
,
id
,
valu
e
);
TRACE
(
"(%p)->(%u,%p)
\n
"
,
This
,
id
,
textur
e
);
return
E_NOTIMPL
;
if
(
id
>=
This
->
nb_groups
)
return
D3DRMERR_BADVALUE
;
if
(
This
->
groups
[
id
].
texture
)
IDirect3DRMTexture3_Release
(
This
->
groups
[
id
].
texture
);
if
(
!
texture
)
{
This
->
groups
[
id
].
texture
=
NULL
;
return
D3DRM_OK
;
}
return
IDirect3DRMTexture3_QueryInterface
(
texture
,
&
IID_IDirect3DRMTexture
,
(
LPVOID
*
)
&
This
->
groups
[
id
].
texture
);
}
static
DWORD
WINAPI
IDirect3DRMMeshImpl_GetGroupCount
(
IDirect3DRMMesh
*
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