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
ab08e593
Commit
ab08e593
authored
Jun 04, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Jun 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Load mesh color to mesh builder.
parent
ab8619e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
meshbuilder.c
dlls/d3drm/meshbuilder.c
+2
-0
No files found.
dlls/d3drm/meshbuilder.c
View file @
ab08e593
...
...
@@ -1273,6 +1273,8 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3* iface, LPDIRECTXFILEDATA pData)
values
=
(
float
*
)
ptr
;
IDirect3DRMMeshBuilder3_SetColorRGB
(
iface
,
values
[
0
],
values
[
1
],
values
[
2
]);
/* Alpha ignored */
IDirect3DRMMaterial2_SetAmbient
(
material
,
values
[
0
],
values
[
1
],
values
[
2
]);
/* Alpha ignored */
IDirect3DRMMaterial2_SetPower
(
material
,
values
[
4
]);
IDirect3DRMMaterial2_SetSpecular
(
material
,
values
[
5
],
values
[
6
],
values
[
7
]);
...
...
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