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
ed3f5081
Commit
ed3f5081
authored
May 05, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
May 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Check if formats are supported for render targets in pixelshader_blending_test().
parent
0cd53a58
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
visual.c
dlls/d3d9/tests/visual.c
+5
-2
No files found.
dlls/d3d9/tests/visual.c
View file @
ed3f5081
...
...
@@ -8893,8 +8893,11 @@ static void pixelshader_blending_test(IDirect3DDevice9 *device)
for
(
fmt_index
=
0
;
test_formats
[
fmt_index
].
textureFormat
!=
0
;
fmt_index
++
)
{
D3DFORMAT
fmt
=
test_formats
[
fmt_index
].
textureFormat
;
if
(
IDirect3D9_CheckDeviceFormat
(
d3d
,
0
,
D3DDEVTYPE_HAL
,
D3DFMT_X8R8G8B8
,
0
,
D3DRTYPE_TEXTURE
,
fmt
)
!=
D3D_OK
)
{
skip
(
"%s textures not supported
\n
"
,
test_formats
[
fmt_index
].
fmtName
);
if
(
IDirect3D9_CheckDeviceFormat
(
d3d
,
0
,
D3DDEVTYPE_HAL
,
D3DFMT_X8R8G8B8
,
D3DUSAGE_RENDERTARGET
,
D3DRTYPE_TEXTURE
,
fmt
)
!=
D3D_OK
)
{
skip
(
"%s textures not supported as render targets.
\n
"
,
test_formats
[
fmt_index
].
fmtName
);
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