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
b8382550
Commit
b8382550
authored
Jan 07, 2015
by
Axel Davy
Committed by
Alexandre Julliard
Jan 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix test_3dc_formats getPixelColor check.
getPixelColor should be called before Present, because the device swapchain was created with discard mode.
parent
fc84368f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
visual.c
dlls/d3d9/tests/visual.c
+2
-2
No files found.
dlls/d3d9/tests/visual.c
View file @
b8382550
...
...
@@ -16798,8 +16798,6 @@ static void test_3dc_formats(void)
hr
=
IDirect3DDevice9_EndScene
(
device
);
ok
(
SUCCEEDED
(
hr
),
"Failed to end scene, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DDevice9_Present
(
device
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"Failed to present, hr %#x.
\n
"
,
hr
);
for
(
i
=
0
;
i
<
4
;
++
i
)
{
color
=
getPixelColor
(
device
,
expected_colors
[
i
].
position
.
x
,
expected_colors
[
i
].
position
.
y
);
...
...
@@ -16808,6 +16806,8 @@ static void test_3dc_formats(void)
expected_colors
[
i
].
amd
,
expected_colors
[
i
].
nvidia
,
color
,
i
);
}
hr
=
IDirect3DDevice9_Present
(
device
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"Failed to present, hr %#x.
\n
"
,
hr
);
IDirect3DTexture9_Release
(
ati2n_texture
);
IDirect3DTexture9_Release
(
ati1n_texture
);
refcount
=
IDirect3DDevice9_Release
(
device
);
...
...
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