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
7447b37f
Commit
7447b37f
authored
Jul 01, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Get rid of struct nvertex.
parent
ecf20e26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
visual.c
dlls/ddraw/tests/visual.c
+17
-18
No files found.
dlls/ddraw/tests/visual.c
View file @
7447b37f
...
...
@@ -274,13 +274,6 @@ static void set_viewport_size(IDirect3DDevice7 *device)
return
;
}
struct
nvertex
{
float
x
,
y
,
z
;
float
nx
,
ny
,
nz
;
DWORD
diffuse
;
};
static
void
lighting_test
(
IDirect3DDevice7
*
device
)
{
HRESULT
hr
;
...
...
@@ -314,19 +307,25 @@ static void lighting_test(IDirect3DDevice7 *device)
{{
0
.
0
f
,
1
.
0
f
,
0
.
1
f
},
0xff00ff00
},
{{
0
.
0
f
,
0
.
0
f
,
0
.
1
f
},
0xff00ff00
},
};
struct
nvertex
unlitnquad
[]
=
struct
{
{
0
.
0
f
,
-
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xff0000ff
},
{
0
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xff0000ff
},
{
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xff0000ff
},
{
1
.
0
f
,
-
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xff0000ff
},
};
struct
nvertex
litnquad
[]
=
struct
vec3
position
;
struct
vec3
normal
;
DWORD
diffuse
;
}
unlitnquad
[]
=
{
{{
0
.
0
f
,
-
1
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xff0000ff
},
{{
0
.
0
f
,
0
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xff0000ff
},
{{
1
.
0
f
,
0
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xff0000ff
},
{{
1
.
0
f
,
-
1
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xff0000ff
},
},
litnquad
[]
=
{
{
0
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xffffff00
},
{
0
.
0
f
,
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xffffff00
},
{
1
.
0
f
,
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xffffff00
},
{
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0xffffff00
},
{
{
0
.
0
f
,
0
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xffffff00
},
{
{
0
.
0
f
,
1
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xffffff00
},
{
{
1
.
0
f
,
1
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xffffff00
},
{
{
1
.
0
f
,
0
.
0
f
,
0
.
1
f
},
{
1
.
0
f
,
1
.
0
f
,
1
.
0
f
},
0xffffff00
},
};
WORD
Indices
[]
=
{
0
,
1
,
2
,
2
,
3
,
0
};
...
...
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