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
f1cd2139
Commit
f1cd2139
authored
Jun 08, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Jun 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Implement IDirect3DRMMeshImpl_SetGroupColorRGB.
parent
85f4fda8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
meshbuilder.c
dlls/d3drm/meshbuilder.c
+9
-2
No files found.
dlls/d3drm/meshbuilder.c
View file @
f1cd2139
...
...
@@ -2742,9 +2742,16 @@ static HRESULT WINAPI IDirect3DRMMeshImpl_SetGroupColorRGB(IDirect3DRMMesh* ifac
{
IDirect3DRMMeshImpl
*
This
=
impl_from_IDirect3DRMMesh
(
iface
);
FIXME
(
"(%p)->(%u,%f,%f,%f): stub
\n
"
,
This
,
id
,
red
,
green
,
blue
);
TRACE
(
"(%p)->(%u,%f,%f,%f)
\n
"
,
This
,
id
,
red
,
green
,
blue
);
return
E_NOTIMPL
;
if
(
id
>=
This
->
nb_groups
)
return
D3DRMERR_BADVALUE
;
This
->
groups
[
id
].
color
=
D3DCOLOR_ARGB
(
0xff
,
(
BYTE
)(
red
*
255
.
0
f
),
(
BYTE
)(
green
*
255
.
0
f
),
(
BYTE
)(
blue
*
255
.
0
f
));
return
D3DRM_OK
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshImpl_SetGroupMapping
(
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