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
8eefd729
Commit
8eefd729
authored
Dec 24, 2023
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jan 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Test the presentation parameters after creating an additional swap chain.
parent
45ea10c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
device.c
dlls/d3d8/tests/device.c
+5
-1
No files found.
dlls/d3d8/tests/device.c
View file @
8eefd729
...
...
@@ -410,7 +410,11 @@ static void test_swapchain(void)
d3dpp
.
BackBufferCount
=
0
;
hr
=
IDirect3DDevice8_CreateAdditionalSwapChain
(
device
,
&
d3dpp
,
&
swapchain1
);
ok
(
SUCCEEDED
(
hr
),
"Got hr %#lx.
\n
"
,
hr
);
ok
(
d3dpp
.
BackBufferCount
==
1
,
"The back buffer count in the presentparams struct is %d
\n
"
,
d3dpp
.
BackBufferCount
);
ok
(
!
d3dpp
.
BackBufferWidth
,
"Got unexpected BackBufferWidth %u.
\n
"
,
d3dpp
.
BackBufferWidth
);
ok
(
!
d3dpp
.
BackBufferHeight
,
"Got unexpected BackBufferHeight %u.
\n
"
,
d3dpp
.
BackBufferHeight
);
ok
(
d3dpp
.
BackBufferFormat
==
D3DFMT_A8R8G8B8
,
"Got unexpected BackBufferFormat %#x.
\n
"
,
d3dpp
.
BackBufferFormat
);
ok
(
d3dpp
.
BackBufferCount
==
1
,
"Got unexpected BackBufferCount %u.
\n
"
,
d3dpp
.
BackBufferCount
);
ok
(
!
d3dpp
.
hDeviceWindow
,
"Got unexpected hDeviceWindow %p.
\n
"
,
d3dpp
.
hDeviceWindow
);
d3dpp
.
hDeviceWindow
=
NULL
;
d3dpp
.
BackBufferCount
=
1
;
...
...
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