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
d3e2e84f
Commit
d3e2e84f
authored
Nov 17, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix some failure messages.
parent
d2f23ff6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
visual.c
dlls/ddraw/tests/visual.c
+8
-8
No files found.
dlls/ddraw/tests/visual.c
View file @
d3e2e84f
...
...
@@ -356,14 +356,14 @@ static void lighting_test(IDirect3DDevice7 *device)
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice7_EndScene failed with %08x
\n
"
,
hr
);
}
color
=
getPixelColor
(
device
,
160
,
360
);
/*
l
ower left quad - unlit without normals */
ok
(
color
==
0x00ff0000
,
"Unlit quad without normals has color
%08x
\n
"
,
color
);
color
=
getPixelColor
(
device
,
160
,
120
);
/*
u
pper left quad - lit without normals */
ok
(
color
==
0x00000000
,
"Lit quad without normals has color
%08x
\n
"
,
color
);
color
=
getPixelColor
(
device
,
480
,
360
);
/*
lower left quad - unlit wid
th normals */
ok
(
color
==
0x000000ff
,
"Unlit quad wi
dth normals has color %08x
\n
"
,
color
);
color
=
getPixelColor
(
device
,
480
,
120
);
/*
upper left quad - lit wid
th normals */
ok
(
color
==
0x00000000
,
"Lit quad wi
dth normals has color %08x
\n
"
,
color
);
color
=
getPixelColor
(
device
,
160
,
360
);
/*
L
ower left quad - unlit without normals */
ok
(
color
==
0x00ff0000
,
"Unlit quad without normals has color
0x%08x, expected 0x00ff0000.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
160
,
120
);
/*
U
pper left quad - lit without normals */
ok
(
color
==
0x00000000
,
"Lit quad without normals has color
0x%08x, expected 0x00000000.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
480
,
360
);
/*
Lower right quad - unlit wi
th normals */
ok
(
color
==
0x000000ff
,
"Unlit quad wi
th normals has color 0x%08x, expected 0x000000ff.
\n
"
,
color
);
color
=
getPixelColor
(
device
,
480
,
120
);
/*
Upper right quad - lit wi
th normals */
ok
(
color
==
0x00000000
,
"Lit quad wi
th normals has color 0x%08x, expected 0x00000000.
\n
"
,
color
);
hr
=
IDirect3DDevice7_SetRenderState
(
device
,
D3DRENDERSTATE_LIGHTING
,
FALSE
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice7_SetRenderState returned %08x
\n
"
,
hr
);
...
...
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