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
6a43986e
Commit
6a43986e
authored
May 12, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Use float literals.
parent
0143fa73
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
visual.c
dlls/d3d8/tests/visual.c
+17
-17
No files found.
dlls/d3d8/tests/visual.c
View file @
6a43986e
...
...
@@ -495,7 +495,7 @@ static void present_test(IDirect3DDevice8 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice8_Clear returned %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice8_Present
(
device
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_Present returned %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_Clear
(
device
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xffffffff
,
0
.
4
,
0
);
hr
=
IDirect3DDevice8_Clear
(
device
,
0
,
NULL
,
D3DCLEAR_TARGET
,
0xffffffff
,
0
.
4
f
,
0
);
ok
(
SUCCEEDED
(
hr
),
"IDirect3DDevice8_Clear returned %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice8_SetRenderState
(
device
,
D3DRS_ZENABLE
,
D3DZB_TRUE
);
...
...
@@ -930,16 +930,16 @@ static void p8_texture_test(IDirect3DDevice8 *device)
D3DCAPS8
caps
;
UINT
i
;
float
quad
[]
=
{
-
1
.
0
,
0
,
0
.
1
,
0
.
0
,
0
.
0
,
-
1
.
0
,
1
.
0
,
0
.
1
,
0
.
0
,
1
.
0
,
1
.
0
,
0
,
0
.
1
,
1
.
0
,
0
.
0
,
1
.
0
,
1
.
0
,
0
.
1
,
1
.
0
,
1
.
0
,
-
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
0
.
0
f
,
0
.
0
f
,
-
1
.
0
f
,
1
.
0
f
,
0
.
1
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
};
float
quad2
[]
=
{
-
1
.
0
,
-
1
.
0
,
0
.
1
,
0
.
0
,
0
.
0
,
-
1
.
0
,
0
,
0
.
1
,
0
.
0
,
1
.
0
,
1
.
0
,
-
1
.
0
,
0
.
1
,
1
.
0
,
0
.
0
,
1
.
0
,
0
,
0
.
1
,
1
.
0
,
1
.
0
,
-
1
.
0
f
,
-
1
.
0
f
,
0
.
1
f
,
0
.
0
f
,
0
.
0
f
,
-
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
0
.
0
f
,
1
.
0
f
,
1
.
0
f
,
-
1
.
0
f
,
0
.
1
f
,
1
.
0
f
,
0
.
0
f
,
1
.
0
f
,
0
.
0
f
,
0
.
1
f
,
1
.
0
f
,
1
.
0
f
,
};
IDirect3DDevice8_GetDirect3D
(
device
,
&
d3d
);
...
...
@@ -1316,17 +1316,17 @@ static void depth_clamp_test(IDirect3DDevice8 *device)
};
const
struct
vertex
quad3
[]
=
{
{
-
0
.
65
,
0
.
55
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
35
,
0
.
55
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
65
,
0
.
15
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
35
,
0
.
15
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
65
f
,
0
.
55
f
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
35
f
,
0
.
55
f
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
65
f
,
0
.
15
f
,
5
.
0
f
,
0xffffffff
},
{
-
0
.
35
f
,
0
.
15
f
,
5
.
0
f
,
0xffffffff
},
};
const
struct
vertex
quad4
[]
=
{
{
-
0
.
87
,
0
.
83
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
65
,
0
.
83
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
87
,
0
.
55
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
65
,
0
.
55
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
87
f
,
0
.
83
f
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
65
f
,
0
.
83
f
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
87
f
,
0
.
55
f
,
10
.
0
f
,
0xffffffff
},
{
-
0
.
65
f
,
0
.
55
f
,
10
.
0
f
,
0xffffffff
},
};
const
struct
vertex
quad5
[]
=
{
...
...
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