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
11689487
Commit
11689487
authored
Feb 28, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Get rid of "skip_once" in yuv_layout_test().
parent
d0d9b9dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
visual.c
dlls/d3d9/tests/visual.c
+2
-11
No files found.
dlls/d3d9/tests/visual.c
View file @
11689487
...
...
@@ -10522,7 +10522,6 @@ static void yuv_layout_test(IDirect3DDevice9 *device)
BYTE
*
buf
,
*
chroma_buf
,
*
u_buf
,
*
v_buf
;
UINT
width
=
20
,
height
=
16
;
D3DCAPS9
caps
;
D3DFORMAT
skip_once
=
D3DFMT_UNKNOWN
;
D3DSURFACE_DESC
desc
;
static
const
struct
...
...
@@ -10582,21 +10581,13 @@ static void yuv_layout_test(IDirect3DDevice9 *device)
if
(
IDirect3D9_CheckDeviceFormat
(
d3d
,
0
,
D3DDEVTYPE_HAL
,
D3DFMT_X8R8G8B8
,
0
,
D3DRTYPE_SURFACE
,
format
)
!=
D3D_OK
)
{
if
(
skip_once
!=
format
)
{
skip
(
"%s is not supported.
\n
"
,
fmt_string
);
skip_once
=
format
;
}
skip
(
"%s is not supported.
\n
"
,
fmt_string
);
continue
;
}
if
(
FAILED
(
IDirect3D9_CheckDeviceFormatConversion
(
d3d
,
0
,
D3DDEVTYPE_HAL
,
format
,
desc
.
Format
)))
{
if
(
skip_once
!=
format
)
{
skip
(
"Driver cannot blit %s surfaces.
\n
"
,
fmt_string
);
skip_once
=
format
;
}
skip
(
"Driver cannot blit %s surfaces.
\n
"
,
fmt_string
);
continue
;
}
...
...
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