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
ef647c9a
Commit
ef647c9a
authored
Jul 31, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Skip gracefully if A16R16G16B16 is not supported.
parent
e9827cc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
visual.c
dlls/d3d9/tests/visual.c
+4
-0
No files found.
dlls/d3d9/tests/visual.c
View file @
ef647c9a
...
@@ -5591,6 +5591,10 @@ static void pshader_version_varying_test(IDirect3DDevice9 *device) {
...
@@ -5591,6 +5591,10 @@ static void pshader_version_varying_test(IDirect3DDevice9 *device) {
hr
=
IDirect3DDevice9_CreateTexture
(
device
,
512
,
512
,
1
,
0
,
D3DFMT_A16B16G16R16
,
D3DPOOL_MANAGED
,
&
texture
,
NULL
);
hr
=
IDirect3DDevice9_CreateTexture
(
device
,
512
,
512
,
1
,
0
,
D3DFMT_A16B16G16R16
,
D3DPOOL_MANAGED
,
&
texture
,
NULL
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_CreateTexture returned %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice9_CreateTexture returned %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
{
skip
(
"D3DFMT_A16B16G16R16 textures not supported
\n
"
);
return
;
}
hr
=
IDirect3DTexture9_LockRect
(
texture
,
0
,
&
lr
,
NULL
,
0
);
hr
=
IDirect3DTexture9_LockRect
(
texture
,
0
,
&
lr
,
NULL
,
0
);
ok
(
hr
==
D3D_OK
,
"IDirect3DTexture9_LockRect returned %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DTexture9_LockRect returned %08x
\n
"
,
hr
);
for
(
y
=
0
;
y
<
512
;
y
++
)
{
for
(
y
=
0
;
y
<
512
;
y
++
)
{
...
...
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