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
98678879
Commit
98678879
authored
Feb 25, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Remove win9x hack.
parent
7c25705e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
device.c
dlls/d3d8/tests/device.c
+2
-6
No files found.
dlls/d3d8/tests/device.c
View file @
98678879
...
...
@@ -1306,13 +1306,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
||
broken
(
hr
==
D3DERR_INVALIDCALL
),
/* Some Win9x and WinME */
"Enabling one light more than supported returned %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"Enabling one light more than supported returned %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice8_GetLightEnable
(
device
,
i
+
1
,
&
enabled
);
ok
(
hr
==
D3D_OK
||
broken
(
hr
==
D3DERR_INVALIDCALL
),
/* Some Win9x and WinME */
"GetLightEnable on light %u failed with %08x
\n
"
,
i
+
1
,
hr
);
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"
);
hr
=
IDirect3DDevice8_LightEnable
(
device
,
i
+
1
,
FALSE
);
ok
(
hr
==
D3D_OK
,
"Disabling the additional 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