Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1ccf7f5e
Commit
1ccf7f5e
authored
Jul 16, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Get rid of struct nvertex.
parent
86ba5b60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
visual.c
dlls/d3d9/tests/visual.c
+17
-18
No files found.
dlls/d3d9/tests/visual.c
View file @
1ccf7f5e
...
...
@@ -209,13 +209,6 @@ static void cleanup_device(IDirect3DDevice9 *device)
}
}
struct
nvertex
{
float
x
,
y
,
z
;
float
nx
,
ny
,
nz
;
DWORD
diffuse
;
};
static
void
test_sanity
(
void
)
{
IDirect3DDevice9
*
device
;
...
...
@@ -303,19 +296,25 @@ static void lighting_test(void)
{{
-
1
.
0
f
,
1
.
0
f
,
0
.
1
f
},
0x8000ff00
},
{{
1
.
0
f
,
1
.
0
f
,
0
.
1
f
},
0x80000000
},
};
static
const
struct
nvertex
unlitnquad
[]
=
static
const
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
},
};
static
const
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
},
};
static
const
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