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
a1ca18ea
Commit
a1ca18ea
authored
Feb 25, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Fix a test failure on some boxes.
parent
b6263f66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
device.c
dlls/d3d8/tests/device.c
+3
-1
No files found.
dlls/d3d8/tests/device.c
View file @
a1ca18ea
...
...
@@ -1207,7 +1207,9 @@ static void test_lights(void)
/* TODO: Test the rendering results in this situation */
hr
=
IDirect3DDevice8_LightEnable
(
device
,
i
+
1
,
TRUE
);
ok
(
hr
==
D3D_OK
,
"Enabling one light more than supported returned %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
||
broken
(
hr
==
D3DERR_INVALIDCALL
),
/* Some Win9x and WinME */
"Enabling one light more than supported returned %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice8_GetLightEnable
(
device
,
i
+
1
,
&
enabled
);
ok
(
hr
==
D3D_OK
,
"GetLightEnable on light %u failed with %08x
\n
"
,
i
+
1
,
hr
);
ok
(
enabled
,
"Light %d is %s
\n
"
,
i
+
1
,
enabled
?
"enabled"
:
"disabled"
);
...
...
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